Interface: IPaintGradientModule
Table of contents
Methods
Methods
linearGradient
▸ linearGradient(paint
, box
): ILeafPaint
Parameters
Name | Type |
---|---|
paint | IGradientPaint |
box | IBoundsData |
Returns
Defined in
ui/packages/interface/src/module/IPaint.ts:41
radialGradient
▸ radialGradient(paint
, box
): ILeafPaint
Parameters
Name | Type |
---|---|
paint | IGradientPaint |
box | IBoundsData |
Returns
Defined in
ui/packages/interface/src/module/IPaint.ts:42
conicGradient
▸ conicGradient(paint
, box
): ILeafPaint
Parameters
Name | Type |
---|---|
paint | IGradientPaint |
box | IBoundsData |
Returns
Defined in
ui/packages/interface/src/module/IPaint.ts:43
getTransform
▸ getTransform(box
, from
, to
, stretch
, rotate90
): IMatrixData
Parameters
Name | Type |
---|---|
box | IBoundsData |
from | IPointData |
to | IPointData |
stretch | number |
rotate90 | boolean |