TLGeoShapeProps

See source code
Table of contents

Properties for the geo shape, which renders various geometric forms with styling and text.

interface TLGeoShapeProps {}

Properties

align

Horizontal alignment for text content


color

Color style for the shape outline


dash

Dash pattern style for the shape outline


fill

Fill style for the shape interior


font

Font style for text content


geo

Geometric shape type (rectangle, ellipse, triangle, etc.)


growY

Additional vertical growth for text content

growY: number

h

Height of the shape in pixels

h: number

labelColor

Color style for text label

labelColor: TLDefaultColorStyle

richText

Rich text content displayed within the shape

richText: TLRichText

scale

Scale factor applied to the shape

scale: number

size

Size/thickness style for outline and text


url

URL link associated with the shape

url: string

verticalAlign

Vertical alignment for text content

verticalAlign: TLDefaultVerticalAlignStyle

w

Width of the shape in pixels

w: number

Prev
TLFrameShapeProps
Next
TLGroupShapeProps