Edit

Share via


Pcd8544.DrawRectangle Method

Definition

Overloads

DrawRectangle(Rectangle, Boolean, Boolean)

Draw a rectangle

DrawRectangle(Rectangle, Boolean, Boolean)

Draw a rectangle

DrawRectangle(Point, Size, Boolean, Boolean)

Draw a rectangle

DrawRectangle(Point, Size, Boolean, Boolean)

Draw a rectangle

DrawRectangle(Int32, Int32, Int32, Int32, Boolean, Boolean)

Draw a rectangle

DrawRectangle(Rectangle, Boolean, Boolean)

Draw a rectangle

public void DrawRectangle (SixLabors.ImageSharp.Rectangle rectangle, bool isOn, bool isFilled);
member this.DrawRectangle : SixLabors.ImageSharp.Rectangle * bool * bool -> unit
Public Sub DrawRectangle (rectangle As Rectangle, isOn As Boolean, isFilled As Boolean)

Parameters

rectangle
SixLabors.ImageSharp.Rectangle

The rectangle.

isOn
Boolean

True if the rectangle has pixels on, false for off.

isFilled
Boolean

If it's filled or not.

Applies to

DrawRectangle(Rectangle, Boolean, Boolean)

Draw a rectangle

public void DrawRectangle (System.Drawing.Rectangle rectangle, bool isOn, bool isFilled);
member this.DrawRectangle : System.Drawing.Rectangle * bool * bool -> unit
Public Sub DrawRectangle (rectangle As Rectangle, isOn As Boolean, isFilled As Boolean)

Parameters

rectangle
Rectangle

The rectangle.

isOn
Boolean

True if the rectangle has pixels on, false for off.

isFilled
Boolean

If it's filled or not.

Applies to

DrawRectangle(Point, Size, Boolean, Boolean)

Draw a rectangle

public void DrawRectangle (SixLabors.ImageSharp.Point p, SixLabors.ImageSharp.Size size, bool isOn, bool isFilled);
member this.DrawRectangle : SixLabors.ImageSharp.Point * SixLabors.ImageSharp.Size * bool * bool -> unit
Public Sub DrawRectangle (p As Point, size As Size, isOn As Boolean, isFilled As Boolean)

Parameters

p
SixLabors.ImageSharp.Point

The coordinate of the point.

size
SixLabors.ImageSharp.Size

The size of the rectangle.

isOn
Boolean

True if the rectangle has pixels on, false for off.

isFilled
Boolean

If it's filled or not.

Applies to

DrawRectangle(Point, Size, Boolean, Boolean)

Draw a rectangle

public void DrawRectangle (System.Drawing.Point p, System.Drawing.Size size, bool isOn, bool isFilled);
member this.DrawRectangle : System.Drawing.Point * System.Drawing.Size * bool * bool -> unit
Public Sub DrawRectangle (p As Point, size As Size, isOn As Boolean, isFilled As Boolean)

Parameters

p
Point

The coordinate of the point.

size
Size

The size of the rectangle.

isOn
Boolean

True if the rectangle has pixels on, false for off.

isFilled
Boolean

If it's filled or not.

Applies to

DrawRectangle(Int32, Int32, Int32, Int32, Boolean, Boolean)

Draw a rectangle

public void DrawRectangle (int x, int y, int width, int height, bool isOn, bool isFilled);
member this.DrawRectangle : int * int * int * int * bool * bool -> unit
Public Sub DrawRectangle (x As Integer, y As Integer, width As Integer, height As Integer, isOn As Boolean, isFilled As Boolean)

Parameters

x
Int32

The X coordinate.

y
Int32

The Y coordinate.

width
Int32

The width of the rectangle.

height
Int32

The height of the rectangle.

isOn
Boolean

True if the rectangle has pixels on, false for off.

isFilled
Boolean

If it's filled or not.

Applies to