Path
Vector path element for drawing shapes in page content; configure fill and stroke to render outlines and areas in the document’s coordinate space.
Definition
Namespace:Telerik.Documents.Fixed.Model.Graphics
Assembly:Telerik.Windows.Documents.Fixed.dll
Syntax:
public class Path : PositionContentElement, IFixedDocumentElement
Inheritance: objectFixedDocumentElementBaseContentElementBasePositionContentElementPath
Implements:
Inherited Members
Constructors
Properties
Gets or sets the alpha constant. Specifying the constant shape or constant opacity value to be used for nonstroking operations.
public double? AlphaConstant { get; set; }
The alpha constant value between 0.0 (transparent) and 1.0 (opaque), or null to use default opacity.
Gets or sets the color used to fill the interior of the path.
public ColorBase Fill { get; set; }
The fill color, or null if the path should not be filled.
Gets or sets the geometric shape that defines the path's outline and area.
public GeometryBase Geometry { get; set; }
The geometry object that describes the path's shape.
Gets or sets a value indicating whether the path's interior should be filled with color.
public bool IsFilled { get; set; }
True if the path should be filled; otherwise, false.
Gets or sets a value indicating whether the path's outline should be drawn.
public bool IsStroked { get; set; }
True if the path outline should be stroked; otherwise, false.
Gets or sets the miter limit.
public double? MiterLimit { get; set; }
The miter limit ratio, or null to use the default system value.
Gets or sets the color used to draw the outline of the path.
public ColorBase Stroke { get; set; }
The stroke color, or null if the path outline should not be drawn.
Gets or sets the stroke alpha constant. Specifying the constant shape or constant opacity value to be used for stroking operations.
public double? StrokeAlphaConstant { get; set; }
The stroke alpha constant value between 0.0 (transparent) and 1.0 (opaque), or null to use default opacity.
Gets or sets the dash pattern applied to the stroke outline of the path.
public IEnumerable<double> StrokeDashArray { get; set; }
An enumerable collection of doubles representing the dash pattern lengths, or null for a solid line.
Gets or sets the stroke dash offset.
public double StrokeDashOffset { get; set; }
The offset distance in user units from the beginning of the dash pattern.
Gets or sets the style of line caps used at the endpoints of the path's stroke.
public LineCap StrokeLineCap { get; set; }
The line cap style that determines how stroke endpoints are rendered.
Gets or sets the stroke line join.
public LineJoin StrokeLineJoin { get; set; }
The line join style that determines how stroke line segments are joined together.
Gets or sets the width of the path's outline stroke in user units.
public double StrokeThickness { get; set; }
The thickness of the stroke line used to draw the path outline.
Methods
Creates a new instance of the path for cloning purposes.
protected override T CreateClonedInstance<T>() where T : PositionContentElement
T
A new instance of the specified type containing the cloned path data.
Overrides: