Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Ellipse

An ellipse

Hierarchy

Index

Properties

Readonly absoluteBoundingBox

absoluteBoundingBox: Rect

Bounding box of the node in absolute space coordinates

Readonly blendMode

blendMode: BlendMode

How this node blends with nodes behind it in the scene (see blend mode section for more details)

Readonly constraints

constraints: LayoutConstraint

Horizontal and vertical layout constraints for node

Readonly effects

effects: ReadonlyArray<Effect>

An array of effects attached to this node (see effects sectionfor more details)

default

[]

Optional Readonly exportSettings

exportSettings: ReadonlyArray<ExportSetting>

An array of export settings representing images to export from node

default

[]

Optional Readonly fillGeometry

fillGeometry: ReadonlyArray<Path>

Only specified if parameter geometry=paths is used. An array of paths representing the object fill

Readonly fills

fills: ReadonlyArray<Paint>

An array of fill paints applied to the node

default

[]

Readonly id

id: string

a string uniquely identifying this node within the document

Optional Readonly isMask

isMask: undefined | false | true

Does this node mask sibling nodes in front of it?

default

false

Readonly name

name: string

the name given to the node by the user in the tool.

Optional Readonly opacity

opacity: undefined | number

Opacity of the node

default

1

Optional Readonly pluginData

pluginData: any

data written by plugins that is visible only to the plugin that wrote it. Requires the pluginData to include the ID of the plugin.

Optional Readonly preserveRatio

preserveRatio: undefined | false | true

Keep height and width constrained to same ratio

default

false

Optional Readonly relativeTransform

relativeTransform: Transform

The top two rows of a matrix that represents the 2D transform of this node relative to its parent. The bottom row of the matrix is implicitly always (0, 0, 1). Use to transform coordinates in geometry. Only present if geometry=paths is passed

Optional Readonly sharedPluginData

sharedPluginData: any

data written by plugins that is visible to all plugins. Requires the pluginData parameter to include the string "shared".

Optional Readonly size

size: Vector2

Width and height of element. This is different from the width and height of the bounding box in that the absolute bounding box represents the element after scaling and rotation. Only present if geometry=paths is passed

Readonly strokeAlign

strokeAlign: "INSIDE" | "OUTSIDE" | "CENTER"

Where stroke is drawn relative to the vector outline as a string enum "INSIDE": draw stroke inside the shape boundary "OUTSIDE": draw stroke outside the shape boundary "CENTER": draw stroke centered along the shape boundary

Optional Readonly strokeGeometry

strokeGeometry: ReadonlyArray<Path>

Only specified if parameter geometry=paths is used. An array of paths representing the object stroke

Readonly strokeWeight

strokeWeight: number

The weight of strokes on the node

Readonly strokes

strokes: ReadonlyArray<Paint>

An array of stroke paints applied to the node

default

[]

Optional Readonly styles

styles: StylesObject

Styles this node uses from the global styles

Optional Readonly transitionDuration

transitionDuration: number | null

The duration of the prototyping transition on this node (in milliseconds)

default

null

Optional Readonly transitionEasing

transitionEasing: EasingType | null

The easing curve used in the prototyping transition on this node

default

null

Optional Readonly transitionNodeID

transitionNodeID: string | null

Node ID of node to transition to in prototyping

default

null

Readonly type

type: "ELLIPSE"

Optional Readonly visible

visible: undefined | false | true

whether or not the node is visible on the canvas

Generated using TypeDoc