skip navigation
  • Product Bundles

    DevCraft

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

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    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 GraphicProperties

Represents the graphic state that controls how geometries are rendered, including fill and stroke appearance properties such as colors, line thickness, and line styles.

Inheritance
System.Object
PropertiesBase<GraphicProperties>
GraphicProperties
Inherited Members
PropertiesBase<GraphicProperties>.Save()
PropertiesBase<GraphicProperties>.Restore()
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.Editing
Assembly: Telerik.Windows.Documents.Fixed.dll

Syntax

public class GraphicProperties : PropertiesBase<GraphicProperties>

Constructors

GraphicProperties()

Initializes a new instance of the GraphicProperties class.

Declaration
public GraphicProperties()

Fields

FillColor

Gets or sets the fill color.

Declaration
public ColorBase FillColor
Field Value
ColorBase

The color of the fill.

IsFilled

Gets or sets a value indicating whether the drawn geometry's interior should be filled. When true, the geometry will be filled with the current FillColor.

Declaration
public bool IsFilled
Field Value
System.Boolean

true if the geometry should be filled; otherwise, false.

IsStroked

Gets or sets a value indicating whether the outline of the drawn geometry should be stroked. When true, the geometry's outline will be drawn with the current StrokeColor and StrokeThickness.

Declaration
public bool IsStroked
Field Value
System.Boolean

true if the geometry's outline should be stroked; otherwise, false.

MiterLimit

Gets or sets the miter limit which determines when a miter join is beveled. When the length of the miter at a join exceeds the product of this value and the line width, the join is converted from a miter to a bevel.

Declaration
public double? MiterLimit
Field Value
System.Nullable<System.Double>

A nullable double value representing the miter limit ratio.

StrokeColor

Gets or sets the stroke color.

Declaration
public ColorBase StrokeColor
Field Value
ColorBase

The color of the stroke.

StrokeDashArray

Gets or sets the pattern of dashes and gaps used to stroke paths. The array contains alternating values for the dash length and gap length in device-independent units.

Declaration
public IEnumerable<double> StrokeDashArray
Field Value
System.Collections.Generic.IEnumerable<System.Double>

A collection of double values that define the pattern of dashes and gaps.

StrokeDashOffset

Gets or sets the distance into the dash pattern to start the dash. This allows shifting the pattern along the stroke without modifying the pattern itself.

Declaration
public double StrokeDashOffset
Field Value
System.Double

A double value representing the stroke dash offset in device-independent units.

StrokeLineCap

Gets or sets the shape to be used at the ends of open stroked paths.

Declaration
public LineCap StrokeLineCap
Field Value
LineCap

A LineCap enumeration value that determines how the ends of stroked paths are rendered.

StrokeLineJoin

Gets or sets the shape to be used at the corners of stroked paths.

Declaration
public LineJoin StrokeLineJoin
Field Value
LineJoin

A LineJoin enumeration value that determines how the corners of stroked paths are rendered.

StrokeThickness

Gets or sets the stroke thickness.

Declaration
public double StrokeThickness
Field Value
System.Double

The stroke thickness.

Methods

CopyFrom(GraphicProperties)

Copies the graphic properties from fromProperties instance.

Declaration
public override void CopyFrom(GraphicProperties graphicProperties)
Parameters
GraphicProperties graphicProperties

The graphic properties.

Overrides
Telerik.Windows.Documents.Fixed.Model.Editing.PropertiesBase<Telerik.Windows.Documents.Fixed.Model.Editing.GraphicProperties>.CopyFrom(Telerik.Windows.Documents.Fixed.Model.Editing.GraphicProperties)
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.