GradientFormat

GradientFormat class

Represent a gradient format.

getGradientDirection

NameDescription
getGradientDirection()Returns or sets the style of a gradient. Read/write GradientDirection.

Returns: int


getGradientShape

NameDescription
getGradientShape()Returns or sets the shape of a gradient. Read/write GradientShape.

Returns: byte


getGradientStops

NameDescription
getGradientStops()Returns the collection of gradient stops. Read-only IGradientStopCollection.

Returns: GradientStopCollection


getLinearGradientAngle

NameDescription
getLinearGradientAngle()Returns or sets the angle of a gradient. Read/write float.

Returns: float


getLinearGradientScaled

NameDescription
getLinearGradientScaled()Determines whether a gradient is scaled. Read/write NullableBool.

Returns: byte


getTileFlip

NameDescription
getTileFlip()Returns or sets the flipping mode for a gradient. Read/write TileFlip.

Returns: int


getVersion

NameDescription
getVersion()

Returns: long


setGradientDirection

NameDescription
setGradientDirection(int)Returns or sets the style of a gradient. Read/write GradientDirection.

setGradientShape

NameDescription
setGradientShape(byte)Returns or sets the shape of a gradient. Read/write GradientShape.

setLinearGradientAngle

NameDescription
setLinearGradientAngle(float)Returns or sets the angle of a gradient. Read/write float.

setLinearGradientScaled

NameDescription
setLinearGradientScaled(byte)Determines whether a gradient is scaled. Read/write NullableBool.

setTileFlip

NameDescription
setTileFlip(int)Returns or sets the flipping mode for a gradient. Read/write TileFlip.