GradientFillShape
Hierarchy
GradientFillShape
Constructors
constructor
newGradientFillShape(parent: any): GradientFillShape
Properties
blendMode
blendMode: BlendMode = BlendMode.NORMAL
Optional classNames
classNames: undefined | string
endPoint
endPoint: Property = new Property(this, PropertyType.POSITION)
fillRule
gradientColors
gradientColors: Property = new Property(this, PropertyType.COLOR)
gradientType
highlightAngle
highlightAngle: Property = new Property(this, PropertyType.NUMBER)
highlightLength
highlightLength: Property = new Property(this, PropertyType.NUMBER)
Optional id
id: undefined | string
isHidden
isHidden: boolean = false
Optional itemIndex
itemIndex: undefined | number
Optional matchName
matchName: undefined | string
Optional name
name: undefined | string
opacity
opacity: Property = new Property(this, PropertyType.OPACITY)
parent
parent: any
Optional shapeIndex
shapeIndex: undefined | number
startPoint
startPoint: Property = new Property(this, PropertyType.POSITION)
Readonly type
Mapped field: ty
Mapped field: gf
Methods
fromJSON
fromJSON(json: Record<string, any>): GradientFillShape
toJSON
toJSON(): Record<string, any>
Returns Record<string, any>
JSON object
Last updated