skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class 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.

Inheritance
System.Object
FixedDocumentElementBase
ContentElementBase
PositionContentElement
Path
Inherited Members
PositionContentElement.Position
ContentElementBase.Clipping
FixedDocumentElementBase.Parent
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Fixed.Model.Graphics
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class Path : PositionContentElement, IFixedDocumentElement, IAlphaConstantProvider, IStrokeAlphaConstantProvider

Constructors

Path()

Initializes a new instance of the Path class.

Declaration
public Path()

Properties

AlphaConstant

Gets or sets the alpha constant. Specifying the constant shape or constant opacity value to be used for nonstroking operations.

Declaration
public double? AlphaConstant { get; set; }
Property Value
System.Nullable<System.Double>

The alpha constant value between 0.0 (transparent) and 1.0 (opaque), or null to use default opacity.

Fill

Gets or sets the color used to fill the interior of the path.

Declaration
public ColorBase Fill { get; set; }
Property Value
ColorBase

The fill color, or null if the path should not be filled.

Geometry

Gets or sets the geometric shape that defines the path's outline and area.

Declaration
public GeometryBase Geometry { get; set; }
Property Value
GeometryBase

The geometry object that describes the path's shape.

IsFilled

Gets or sets a value indicating whether the path's interior should be filled with color.

Declaration
public bool IsFilled { get; set; }
Property Value
System.Boolean

True if the path should be filled; otherwise, false.

IsStroked

Gets or sets a value indicating whether the path's outline should be drawn.

Declaration
public bool IsStroked { get; set; }
Property Value
System.Boolean

True if the path outline should be stroked; otherwise, false.

MiterLimit

Gets or sets the miter limit.

Declaration
public double? MiterLimit { get; set; }
Property Value
System.Nullable<System.Double>

The miter limit ratio, or null to use the default system value.

Stroke

Gets or sets the color used to draw the outline of the path.

Declaration
public ColorBase Stroke { get; set; }
Property Value
ColorBase

The stroke color, or null if the path outline should not be drawn.

StrokeAlphaConstant

Gets or sets the stroke alpha constant. Specifying the constant shape or constant opacity value to be used for stroking operations.

Declaration
public double? StrokeAlphaConstant { get; set; }
Property Value
System.Nullable<System.Double>

The stroke alpha constant value between 0.0 (transparent) and 1.0 (opaque), or null to use default opacity.

StrokeDashArray

Gets or sets the dash pattern applied to the stroke outline of the path.

Declaration
public IEnumerable<double> StrokeDashArray { get; set; }
Property Value
System.Collections.Generic.IEnumerable<System.Double>

An enumerable collection of doubles representing the dash pattern lengths, or null for a solid line.

StrokeDashOffset

Gets or sets the stroke dash offset.

Declaration
public double StrokeDashOffset { get; set; }
Property Value
System.Double

The offset distance in user units from the beginning of the dash pattern.

StrokeLineCap

Gets or sets the style of line caps used at the endpoints of the path's stroke.

Declaration
public LineCap StrokeLineCap { get; set; }
Property Value
LineCap

The line cap style that determines how stroke endpoints are rendered.

StrokeLineJoin

Gets or sets the stroke line join.

Declaration
public LineJoin StrokeLineJoin { get; set; }
Property Value
LineJoin

The line join style that determines how stroke line segments are joined together.

StrokeThickness

Gets or sets the width of the path's outline stroke in user units.

Declaration
public double StrokeThickness { get; set; }
Property Value
System.Double

The thickness of the stroke line used to draw the path outline.

Methods

Clone()

Creates a deep copy of this path element with all its properties and geometry.

Declaration
public Path Clone()
Returns
Path

A new Path instance that is a complete copy of this path.

CreateClonedInstance<T>()

Creates a new instance of the path for cloning purposes.

Declaration
protected override T CreateClonedInstance<T>()
    where T : PositionContentElement
Returns
T

A new instance of the specified type containing the cloned path data.

Type Parameters
T

The type of the cloned instance.

Overrides
PositionContentElement.CreateClonedInstance<T>()
Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.