New to Telerik UI for WinFormsStart a free 30-day trial

GdiPath

Class

Definition

Constructors

C#
public GdiPath()

Properties

C#
public override object RawPath { get; }

Overrides: Path.RawPath

Methods

C#
public override void AddArc(float x, float y, float width, float height, float startAngle, float sweepAngle)
Parameters:xfloatyfloatwidthfloatheightfloatstartAnglefloatsweepAnglefloat

Overrides: Path.AddArc(float, float, float, float, float, float)

C#
public override void AddBezier(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4)
Parameters:x1floaty1floatx2floaty2floatx3floaty3floatx4floaty4float

Overrides: Path.AddBezier(float, float, float, float, float, float, float, float)

C#
public override void AddEllipse(RectangleF rectangle)
Parameters:rectangleRectangleF

Overrides: Path.AddEllipse(RectangleF)

C#
public override void AddLine(float x1, float y1, float x2, float y2)
Parameters:x1floaty1floatx2floaty2float

Overrides: Path.AddLine(float, float, float, float)

C#
public override void AddRectangle(float x1, float y1, float width, float height)
Parameters:x1floaty1floatwidthfloatheightfloat

Overrides: Path.AddRectangle(float, float, float, float)

Releases any UNMANAGED resources used by this object. NOTE: If you declare some unmanaged resources in your class, you should override its finalizer and put disposing logic there also.

C#
protected override void DisposeUnmanagedResources()

Overrides: DisposableObject.DisposeUnmanagedResources()

C#
public override RectangleF GetBounds()
Returns:

RectangleF

Overrides: Path.GetBounds()

C#
protected override bool OnAttached(object rawPath)
Parameters:rawPathobjectReturns:

bool

Overrides: Path.OnAttached(object)

C#
protected override void OnBeginFigure()

Overrides: Path.OnBeginFigure()

C#
protected override void OnEndFigure()

Overrides: Path.OnEndFigure()