Skip to content

Interface: IGradientPaint

Hierarchy

Table of contents

Properties

Properties

blendMode

Optional blendMode: IBlendMode

Inherited from

IPaintBase.blendMode

Defined in

ui/packages/interface/src/type/IType.ts:14


visible

Optional visible: boolean

Inherited from

IPaintBase.visible

Defined in

ui/packages/interface/src/type/IType.ts:15


opacity

Optional opacity: number

Inherited from

IPaintBase.opacity

Defined in

ui/packages/interface/src/type/IType.ts:16


type

type: IGradientType

Overrides

IPaintBase.type

Defined in

ui/packages/interface/src/type/IType.ts:48


from

Optional from: IUnitPointData | IDirection

Defined in

ui/packages/interface/src/type/IType.ts:49


to

Optional to: IUnitPointData | IDirection

Defined in

ui/packages/interface/src/type/IType.ts:50


stretch

Optional stretch: number

Defined in

ui/packages/interface/src/type/IType.ts:51


stops

stops: string[] | IColorStop[]

Defined in

ui/packages/interface/src/type/IType.ts:52

Released under the MIT License.