Show/Hide Toolbars

RiverSoftAVG Products Help

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

TRSGPGradient.StartPosition Property

Scroll Prev Top Next More

Specifies the starting point of the gradient.

Use the StartPosition property to specify the starting point of the gradient. StartPosition 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 StartPosition 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