跳到主要内容

PositivePercentage

The 1000th of a percent (100000 = 100%).

Type

number

Example

This example sets a gradient stop position in 100%.

// How to create a gradient stop using positive percentage.

// Set percentage for gradient stop.

let gs = Api.CreateGradientStop(Api.CreateRGBColor(255, 164, 101), 100000);