Class EllipseGeometry
Represents the geometry of an ellipse or circle.
public class EllipseGeometry : Geometry, INotifyPropertyChanged
- Inheritance
-
EllipseGeometry
- Implements
- Inherited Members
- Extension Methods
Constructors
EllipseGeometry()
Initializes a new instance of the EllipseGeometry class.
public EllipseGeometry()
EllipseGeometry(Rect)
Initializes a new instance of the EllipseGeometry class.
public EllipseGeometry(Rect rect)
Parameters
rect
RectThe rectangle that the ellipse should fill.
Fields
CenterProperty
Defines the Center property.
public static readonly StyledProperty<Point> CenterProperty
Field Value
RadiusXProperty
Defines the RadiusX property.
public static readonly StyledProperty<double> RadiusXProperty
Field Value
RadiusYProperty
Defines the RadiusY property.
public static readonly StyledProperty<double> RadiusYProperty
Field Value
RectProperty
Defines the Rect property.
public static readonly StyledProperty<Rect> RectProperty
Field Value
Properties
Center
Gets or sets a point that defines the center of the ellipse.
public Point Center { get; set; }
Property Value
Remarks
RadiusX
Gets or sets a double that defines the radius in the X-axis of the ellipse.
public double RadiusX { get; set; }
Property Value
Remarks
RadiusY
Gets or sets a double that defines the radius in the Y-axis of the ellipse.
public double RadiusY { get; set; }
Property Value
Remarks
Rect
Gets or sets a rect that defines the bounds of the ellipse.
public Rect Rect { get; set; }
Property Value
Remarks
When set, this takes priority over the other properties that define an ellipse using a center point and X/Y-axis radii.
Methods
Clone()
Clones the geometry.
public override Geometry Clone()
Returns
- Geometry
A cloned geometry.