Method | Description | |
---|---|---|
DrawCircle ( this g, |
Draws a circle defined by a center point and the radius.
|
|
DrawEllipse ( this g, |
Draws an ellipse defined by a center point and the radius on the x and y axes.
|
|
DrawLine ( this g, |
Draws a line connecting two points specified by the vectors.
|
|
DrawRectangle ( this g, |
Draws a rectangle.
|
|
FillCircle ( this g, |
Fills the interior of a circle defined by a center point and the radius.
|
|
FillEllipse ( this g, |
Fills the interior of an ellipse defined by a center point and the radius on the x and y axes.
|
public static DrawCircle ( this g, |
||
g | this | The drawing surface. |
pen | Pen that determines the color, width, and style of the circle. | |
center | System.Numerics.Vector2 | The center point of the circle. |
radius | float | The radius of the circle. |
return | void |
public static DrawEllipse ( this g, |
||
g | this | The drawing surface. |
pen | Pen that determines the color, width, and style of the ellipse. | |
center | System.Numerics.Vector2 | The center point of the ellipse. |
radiusX | float | The radius on the x axis. |
radiusY | float | The radius on the y axis. |
return | void |
public static DrawLine ( this g, |
||
g | this | The drawing surface. |
pen | Pen that determines the color, width, and style of the line. | |
pt1 | System.Numerics.Vector2 | The first point. |
pt2 | System.Numerics.Vector2 | The second point. |
return | void |
public static DrawRectangle ( this g, |
||
g | this | The drawing surface. |
pen | Pen that determines the color, width, and style of the rectangle. | |
rect | ||
return | void |
public static FillCircle ( this g, |
||
g | this | The drawing surface. |
brush | Brush that determines the characteristics of the fill. | |
center | System.Numerics.Vector2 | The center point of the circle. |
radius | float | The radius of the circle. |
return | void |
public static FillEllipse ( this g, |
||
g | this | The drawing surface. |
brush | Brush that determines the characteristics of the fill. | |
center | System.Numerics.Vector2 | The center point of the ellipse. |
radiusX | float | The radius on the x axis. |
radiusY | float | The radius on the y axis. |
return | void |