VegaRise.NET
Back to DOM

LineCapValuesEnum

Definition

Namespace
DOM.Enums
Assembly
DOM.dll

Specifies the shape of the ends of a line.

Remarks

Used by and . The cap applies to both ends of solid lines and to each end of dashed lines. OutLine.CapType TextOutlineEffect.LineCapType

Examples

csharp
1// 1. Round cap
2var cap = LineCapValues.Round;
3
csharp
1// 2. Square cap
2var cap = LineCapValues.Square;
3
csharp
1// 3. Flat cap
2var cap = LineCapValues.Flat;
3
csharp
1// 4. Set on an outline
2var line = new OutLine { CapType = LineCapValues.Round };
3

Fields

Flat

Flat line ends.

Round

Rounded line ends.

Square

Squared line ends.

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.