API / geotoolkit / attributes / GradientStyle / GradientStyle
attributes.GradientStyle.GradientStyle
Type Aliases
Type Aliases
Ƭ Options: Options & { spreadmethod?: SpreadMethods | "pad" | "reflect" | "repeat" ; stoppoints?: StopPoint[] ; transformation?: Transformation ; unittype?: GradientUnits | "absoluteCoordinates" | "objectBoundingBox" | "userSpaceOnUse" }
Color of FillStyle (not used in Gradient) or JSON with parameters
Ƭ OptionsOut: OptionsOut & { spreadmethod: SpreadMethods ; stoppoints: StopPoint[] ; transformation: Transformation ; unittype: GradientUnits | "absoluteCoordinates" | "objectBoundingBox" | "userSpaceOnUse" }
properties
Ƭ StopPoint: Object
| Name | Type | Description |
|---|---|---|
color | string | color in CSS form for specified stop point |
position | number | position of the stop point, if in relative coordinates from 0 to 1 |