Options
All
  • Public
  • Public/Protected
  • All
Menu

figma-js

Index

Type aliases

BlendMode

BlendMode: "PASS_THROUGH" | "NORMAL" | "DARKEN" | "MULTIPLY" | "LINEAR_BURN" | "COLOR_BURN" | "LIGHTEN" | "SCREEN" | "LINEAR_DODGE" | "COLOR_DODGE" | "OVERLAY" | "SOFT_LIGHT" | "HARD_LIGHT" | "DIFFERENCE" | "EXCLUSION" | "HUE" | "SATURATION" | "COLOR" | "LUMINOSITY"

how the layer blends with layers below

EasingType

EasingType: "EASE_IN" | "EASE_OUT" | "EASE_IN_AND_OUT"

Node

NodeType

NodeType: "DOCUMENT" | "CANVAS" | "FRAME" | "GROUP" | "VECTOR" | "BOOLEAN_OPERATION" | "STAR" | "LINE" | "ELLIPSE" | "REGULAR_POLYGON" | "RECTANGLE" | "TEXT" | "SLICE" | "COMPONENT" | "COMPONENT_SET" | "INSTANCE"

PaintType

PaintTypeGradient

PaintTypeGradient: "GRADIENT_LINEAR" | "GRADIENT_RADIAL" | "GRADIENT_ANGULAR" | "GRADIENT_DIAMOND"

PaintTypeImage

PaintTypeImage: "IMAGE" | "EMOJI"

PaintTypeSolid

PaintTypeSolid: "SOLID"

RoleType

RoleType: "viewer" | "editor" | "owner"

ScaleMode

ScaleMode: "FILL" | "FIT" | "TILE" | "STRETCH"

StyleKeyType

StyleKeyType: "fill" | "stroke" | "effect" | "grid" | "text" | "background"

the above styles can be used in the following ways

StyleType

StyleType: "FILL" | "TEXT" | "EFFECT" | "GRID"

Styles can be one of the following types

StylesObject

StylesObject: {}[StyleKeyType]

TextType

TextType: "TEXT"

Transform

Transform: ReadonlyArray<ReadonlyArray<number>>

exportFormatOptions

exportFormatOptions: "jpg" | "png" | "svg" | "pdf"

Functions

Const Client

Generated using TypeDoc