Inherits: PredefinedShape < DesignItem < ScriptObject

Inherited by: PadStyle, PadStyleException

A predefined shape is a primitive shape defined by several parameters.

Properties

NameTypeGet/SetBrief
AnglefloatYes/YesThe rotation angle of the shape in degrees.
Dimension3intYes/YesThe third dimension value needed for some shapes.
FilledboolYes/YesThe filled state of the shape.
HeightintYes/YesThe height of the shape.
InnerDiameterintYes/YesThe inner diameter needed for some of the shapes.
RadiusintYes/YesThe radius of the shape.
ShapeShapeYes/YesThe type of the shape.
WidthintYes/YesThe width of the shape.

Enumerations

Shape

NameValueDescription
Annulus0No description provided.
Asterisk1No description provided.
Bullet2No description provided.
ChamferRect3No description provided.
ClosedArrow4No description provided.
Cross5No description provided.
Diamond6No description provided.
Octagon7No description provided.
OpenArrow8No description provided.
Origin9No description provided.
Oval10No description provided.
Pointer11No description provided.
Plus12No description provided.
Rectangle13No description provided.
Round14No description provided.
RoundedRect15No description provided.
Square16No description provided.
Target17No description provided.
Triangle18No description provided.
User19No description provided.
ThreePointStar20No description provided.
FourPointStar21No description provided.
FivePointStar22No description provided.
SixPointStar23No description provided.
ThreePoint24No description provided.
ThreeLeg25No description provided.
FourLeg26No description provided.
FiveLeg27No description provided.

Property Details

Angle

Type: float

The rotation angle of the shape in degrees.


Dimension3

Type: int

The third dimension value needed for some shapes.


Filled

Type: bool

The filled state of the shape.


Height

Type: int

The height of the shape.


InnerDiameter

Type: int

The inner diameter needed for some of the shapes.


Radius

Type: int

The radius of the shape.


Shape

Type: Shape

The type of the shape.


Width

Type: int

The width of the shape.