Class VectorPath
A filled and/or stroked vector path — the primitive shapes and shape groups paint through. Alpha values are in thousandths of a percent (0..100000), matching the DrawingML a:alpha unit and the crop convention on ImagePlacement; a fully transparent paint is omitted rather than drawn.
public sealed class VectorPath : ILayoutPrimitive
- Inheritance
-
VectorPath
- Implements
- Inherited Members
Constructors
- VectorPath(IReadOnlyList<VectorPathSegment>, ColorRgb?, int, ColorRgb?, int, Twips, GradientFill?, PatternFill?, IReadOnlyList<Twips>?, VectorFillRule, VectorLineCap, VectorLineJoin, bool)
Initializes a vector path with a gradient or pattern interior.
- VectorPath(IReadOnlyList<VectorPathSegment>, ColorRgb?, int, ColorRgb?, int, Twips, IReadOnlyList<Twips>?, VectorFillRule, VectorLineCap, VectorLineJoin, bool)
Initializes a vector path.
Properties
- BehindText
Gets whether the path paints behind text.
- FillAlpha
Gets the fill opacity in thousandths of a percent (0..100000).
- FillColor
Gets the interior color, or null when unfilled. When Gradient is set this is the flat fallback for a renderer that cannot paint a gradient.
- FillRule
Gets how the interior is determined.
- Gradient
Gets the gradient interior paint, or null when the interior is not a gradient.
- LineCap
Gets how stroked subpath ends are drawn.
- LineJoin
Gets how stroked segments meet.
- Pattern
Gets the tiled pattern interior paint, or null when the interior is not patterned.
- Segments
Gets the path segments in order.
- StrokeAlpha
Gets the stroke opacity in thousandths of a percent (0..100000).
- StrokeColor
Gets the outline color, or null when unstroked.
- StrokeDashPattern
Gets the dash pattern in twips; empty for a solid stroke.
- StrokeWidth
Gets the outline width in twips.