Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: Code Documentation > RSVML > RSGdiPlusGraphics > Classes > TRSGPGradient > Properties

TRSGPGradient.StopPosition Property

Scroll Prev Top Next More

Specifies the stopping point of the gradient.

Use the StopPosition property to specify the stopping point of the gradient. StopPosition is in unit coordinates, from (0,0) in the top-left to (1,1) in the bottom-right of the rectangle being painted. Changing the rotation of a linear gradient in the Brush Designer modifies these coordinates so that the gradient goes in the desired direction.
 

noteNote

The changes made to StopPosition are visible only when the Style property is set to gsLinear.

Namespace: RSGdiPlusGraphics

Property Value

Type: TRSPosition

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb