KitchenDraw SDK 2
Show / Hide Table of Contents

Property Shape

Shape

Character string which lists the points belonging to the shape corresponding to the object.

Declaration
public string Shape { get; set; }
Property Value
Type Description
string
Remarks

You can use Scene.Shape class to manipulate this character string.

The coordinates are given in decimal values and are separated with a coma. The points are separated with a semi column like in the following example: x1,y1,z1,p1;x2,y2,z2,p2;...;xn,yn,Zn,pn, where n is total points amount, xn, yn, and zn are the scene coordinates of the nth point of the shape and pn holds its property flags.

The different shape property flags are listed in the following table:

1Selection flag: indicated whether the point of the shape is selected by the user.
2Circle arc flag: indicates whether the point defines a circle arc along with the previous point of the shape and the following point.

The pn value mentioned after the coordinates of a shape point is the sum of the property flags corresponding to this point. This way, a point that is selected and that is at the same time a circle arc point will have a property value of 3 (1 + 2).

In this article
Back to top Generated by DocFX