OptionalboldOptionalconnectionOptionalcornerCorner radius in inches for 'rounded-rectangle'. Defaults to 10% of the smaller dimension.
OptionalfillOptionalfillApply a stylesheet only for fill properties (FillStyle attribute).
OptionalfontOptionalfontFont family name (e.g. "Arial", "Times New Roman").
OptionalfontFont size in points (e.g. 14 for 14pt).
OptionalgeometryShape geometry. Defaults to 'rectangle'.
OptionalhorzHorizontal text alignment within the shape.
OptionalidOptionalimgOptionalitalicItalic text.
OptionallineOptionallineLine pattern. 0 = none, 1 = solid (default), 2 = dash, 3 = dot, 4 = dash-dot.
OptionallineLine-height multiplier (1.0 = single, 1.5 = 1.5×, 2.0 = double).
OptionallineApply a stylesheet only for line properties (LineStyle attribute).
OptionalmasterOptionalspaceSpace after each paragraph in points.
OptionalspaceSpace before each paragraph in points.
OptionalstrikethroughStrikethrough text.
OptionalstyleApply a document-level stylesheet to this shape (sets LineStyle, FillStyle,
and TextStyle all to the same ID). Create styles via doc.createStyle().
Takes precedence over lineStyleId, fillStyleId, and textStyleId.
OptionaltextBottom text margin in inches.
OptionaltextLeft text margin in inches.
OptionaltextRight text margin in inches.
OptionaltextTop text margin in inches.
OptionaltextApply a stylesheet only for text properties (TextStyle attribute).
OptionaltypeOptionalunderlineUnderline text.
OptionalverticalVertical text alignment within the shape.
Connection points to add to the shape. Use
StandardConnectionPoints.cardinalfor the four cardinal points, orStandardConnectionPoints.fullfor eight points.