[]
Draws the content at the specified location and with the specified size.
public virtual void Draw(Graphics g, Rectangle r, string s, Image img)
Public Overridable Sub Draw(g As Graphics, r As Rectangle, s As String, img As Image)
| Type | Name | Description |
|---|---|---|
| Graphics | g | A Graphics object that encapsulates a GDI+ drawing surface. |
| Rectangle | r | The rectangle area to draw. |
| string | s | The string to draw. |
| Image | img | The image to draw. |
Draws the content at the specified location and with the specified size.
public virtual void Draw(Graphics g, Rectangle r, string s, Image img, double orientationAngle)
Public Overridable Sub Draw(g As Graphics, r As Rectangle, s As String, img As Image, orientationAngle As Double)
| Type | Name | Description |
|---|---|---|
| Graphics | g | A Graphics object that encapsulates a GDI+ drawing surface. |
| Rectangle | r | The rectangle area to draw. |
| string | s | The string to draw. |
| Image | img | The image to draw. |
| double | orientationAngle | The orientation angle. |
Draws the content at the specified location and with the specified size.
public virtual void Draw(Graphics g, Rectangle r, string s, Image img, double orientationAngle, PointF orientationPivot)
Public Overridable Sub Draw(g As Graphics, r As Rectangle, s As String, img As Image, orientationAngle As Double, orientationPivot As PointF)
| Type | Name | Description |
|---|---|---|
| Graphics | g | A Graphics object that encapsulates a GDI+ drawing surface. |
| Rectangle | r | The rectangle area to draw. |
| string | s | The string to draw. |
| Image | img | The image to draw. |
| double | orientationAngle | The orientation angle. |
| PointF | orientationPivot | The orientation pivot. |