Type
ShapeStyle
How a shape clip is painted. Sizes are fractions of frame height, like a title's. In a command you send only the fields you change.
Fields
cornerRadiusnumberoptionalHow round a figure's corners are, 0 sharp to 1 as round as the shorter side allows. Every figure with corners takes it.
The outline's pattern; a line's too.
What a line's end wears; None is the kind's own: an arrowhead on an arrow, nothing on a line.
fillstringoptional · default "#ffffff"The inside's colour as
#rrggbb[aa]; empty for an outline alone.The inside blended from
fillinto a second colour, or None forfillalone.heightnumberoptionalThe figure's height as a fraction of frame height; zero - the default - is the figure's own proportion of its width (see
ShapeKind). A line has no height of its own.innerRadiusnumberoptional · default 0.45How far out a star's inner corners sit, as a share of its outer radius: low is spiky, high is nearly round.
The figure.
pointsintegeroptional · default 5A star's points, 3 to 24.
A shadow or a glow, or None.
sidesintegeroptional · default 6A polygon's sides, 3 to 12.
What a line's start wears; None is the kind's own: nothing.
strokestringoptional · default ""The outline's colour, drawn when
strokeWidthis above zero. A line and an arrow are all stroke, drawn in this colour, and fall back tofillwhen it is empty.Where the outline sits on the edge.
strokeWidthnumberoptional · default 0.012The outline's thickness as a fraction of frame height; zero for a figure with no outline. A line's and an arrow's own thickness.
trimEndnumberoptional · default 1See
trimStart.trimStartnumberoptional · default 0The outline drawn from
trimStarttotrimEndof the way round, 0 to 1: a ring part-drawn, a progress arc, a line partway along.widthnumberoptional · default 0.35The figure's width, or a line's length, as a fraction of frame height.
sizeis what documents before a height called it.