VegaRise.NET
Back to DOM

PathShadeTypeValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the shape of a path-based gradient.

Remarks

Used by . Determines whether the gradient follows a circle, a rectangle, or the shape's own path. PathShade.PathShadeType

Examples

csharp
1// 1. Shape-following gradient
2var ps = new PathShade { PathShadeType = PathShadeTypeValues.shape };
3
csharp
1// 2. Circular gradient
2var ps = new PathShade { PathShadeType = PathShadeTypeValues.circle };
3
csharp
1// 3. Rectangular gradient
2var ps = new PathShade { PathShadeType = PathShadeTypeValues.rect };
3
csharp
1// 4. Radial glow effect
2var ps = new PathShade
3{
4 PathShadeType = PathShadeTypeValues.circle,
5 FillToRectangle = new FillToRectangle { Top = 0, Left = 0, Right = 100, Bottom = 100 }
6};
7

Fields

circle

Circular gradient.

rect

Rectangular gradient.

shape

Shape-following gradient.

VegaRiseVDocs.NET

Reset Password

Enter your email and we'll send you a link to reset your password.

Remember your password? Sign in