WinForms

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ArcShape - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ArcShape

    Represents an arc shape.

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    WidgetBase
    Shape
    ArcShape
    Implements
    IEntityBase
    IXDLSSerializable
    IShape
    ILeafWidget
    IWidget
    Inherited Members
    Shape.m_canvas
    Shape.ApplyStyle(String)
    Shape.InitXDLSHolder()
    Shape.WriteXmlContent(IXDLSContentWriter)
    Shape.ReadXmlContent(IXDLSContentReader)
    Shape.CreateLayoutInfo()
    Shape.Measure(CustomGraphics)
    Shape.ApplyTransform(CustomGraphics)
    Shape.ResetTransform(CustomGraphics)
    Shape.StyleName
    Shape.ShapeFormat
    Shape.Transform
    WidgetBase.m_layoutInfo
    WidgetBase.DrawImpl(CustomGraphics, LayoutedWidget)
    WidgetBase.IWidget.LayoutInfo
    XDLSSerializableBase.m_id
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.XDLSHolder
    EntityBase.SetOwner(IEntityBase)
    EntityBase.Owner
    EntityBase.Document
    EntityBase.DocumentEx
    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: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public class ArcShape : Shape, IEntityBase, IXDLSSerializable, IShape, ILeafWidget, IWidget
    Remarks

    Supported by Essential PDF only.

    Constructors

    ArcShape(Canvas)

    Create a new Arc Shape.

    Declaration
    public ArcShape(Canvas canvas)
    Parameters
    Type Name Description
    Canvas canvas

    Properties

    Bounds

    Gets / sets boundaries of the arc.

    Declaration
    public RectangleF Bounds { get; set; }
    Property Value
    Type Description
    System.Drawing.RectangleF

    Height

    Gets / sets width of the boundaries of the shape.

    Declaration
    public float Height { get; set; }
    Property Value
    Type Description
    System.Single

    Location

    Gets / sets location of the ellipse boundaries.

    Declaration
    public PointF Location { get; set; }
    Property Value
    Type Description
    System.Drawing.PointF

    Size

    Gets / sets size of the ellipse boundaries.

    Declaration
    public SizeF Size { get; set; }
    Property Value
    Type Description
    System.Drawing.SizeF

    StartAngle

    Gets/Sets the start angle of the Arc.

    Declaration
    public float StartAngle { get; set; }
    Property Value
    Type Description
    System.Single

    SweepAngle

    Gets/Sets the sweep angle of the Arc.

    Declaration
    public float SweepAngle { get; set; }
    Property Value
    Type Description
    System.Single

    Width

    Gets / sets width of the boundaries of the shape.

    Declaration
    public float Width { get; set; }
    Property Value
    Type Description
    System.Single

    X

    Gets x coordinate of the shape.

    Declaration
    public float X { get; set; }
    Property Value
    Type Description
    System.Single

    Y

    Gets y coordinate of the shape.

    Declaration
    public float Y { get; set; }
    Property Value
    Type Description
    System.Single

    Methods

    ReadXmlAttributes(IXDLSAttributeReader)

    Read XML Attributes.

    Declaration
    protected override void ReadXmlAttributes(IXDLSAttributeReader reader)
    Parameters
    Type Name Description
    IXDLSAttributeReader reader
    Overrides
    XDLSSerializableBase.ReadXmlAttributes(IXDLSAttributeReader)

    WriteXmlAttributes(IXDLSAttributeWriter)

    Serialize XML Attributes.

    Declaration
    protected override void WriteXmlAttributes(IXDLSAttributeWriter writer)
    Parameters
    Type Name Description
    IXDLSAttributeWriter writer
    Overrides
    XDLSSerializableBase.WriteXmlAttributes(IXDLSAttributeWriter)

    Explicit Interface Implementations

    IWidget.Draw(CustomGraphics, LayoutedWidget)

    Declaration
    void IWidget.Draw(CustomGraphics cg, LayoutedWidget ltWidget)
    Parameters
    Type Name Description
    CustomGraphics cg
    LayoutedWidget ltWidget

    Implements

    IEntityBase
    IXDLSSerializable
    IShape
    ILeafWidget
    IWidget
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved