menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BezierShape - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BezierShape

    Represents a bezier shape.

    Inheritance
    System.Object
    EntityBase
    XDLSSerializableBase
    WidgetBase
    Shape
    BezierShape
    Implements
    IEntityBase
    IXDLSSerializable
    IShape
    ILeafWidget
    IWidget
    Inherited Members
    EntityBase.Document
    EntityBase.DocumentEx
    EntityBase.Owner
    EntityBase.SetOwner(IEntityBase)
    Shape.ApplyStyle(String)
    Shape.ApplyTransform(CustomGraphics)
    Shape.CreateLayoutInfo()
    Shape.InitXDLSHolder()
    Shape.m_canvas
    Shape.Measure(CustomGraphics)
    Shape.ReadXmlContent(IXDLSContentReader)
    Shape.ResetTransform(CustomGraphics)
    Shape.ShapeFormat
    Shape.StyleName
    Shape.Transform
    Shape.WriteXmlContent(IXDLSContentWriter)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    WidgetBase.DrawImpl(CustomGraphics, LayoutedWidget)
    WidgetBase.IWidget.LayoutInfo
    WidgetBase.m_layoutInfo
    XDLSSerializableBase.IXDLSSerializable.ReadXmlAttributes(IXDLSAttributeReader)
    XDLSSerializableBase.IXDLSSerializable.ReadXmlContent(IXDLSContentReader)
    XDLSSerializableBase.IXDLSSerializable.RestoreReference(String, Int32)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlAttributes(IXDLSAttributeWriter)
    XDLSSerializableBase.IXDLSSerializable.WriteXmlContent(IXDLSContentWriter)
    XDLSSerializableBase.IXDLSSerializable.XDLSHolder
    XDLSSerializableBase.m_id
    XDLSSerializableBase.RestoreReference(String, Int32)
    XDLSSerializableBase.XDLSHolder
    Namespace: Syncfusion.DLS
    Assembly: Syncfusion.DLS.Base.dll
    Syntax
    public class BezierShape : Shape, IEntityBase, IXDLSSerializable, IShape, ILeafWidget, IWidget
    Remarks

    Supported by Essential PDF only.

    Constructors

    BezierShape(Canvas)

    Create a new Bezier Shape.

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

    Properties

    X1

    The x-coordinate of the starting point of the curve.

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

    X2

    The x-coordinate of the first control point of the curve.

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

    X3

    The x-coordinate of the second control point of the curve.

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

    X4

    The x-coordinate of the ending point of the curve.

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

    Y1

    The y-coordinate of the starting point of the curve.

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

    Y2

    The y-coordinate of the first control point of the curve.

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

    Y3

    The y-coordinate of the second control point of the curve.

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

    Y4

    The y-coordinate of the ending point of the curve.

    Declaration
    public float Y4 { get; set; }
    Property Value
    Type
    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 - 2025 Syncfusion Inc. All Rights Reserved