PrimitiveBaseDraw Method

Draws the primitive on a graphics surface.

Definition

Namespace: BeeMobile.TransparentControls.Primitives
Assembly: BeeMobile.TransparentControls.NET48 (in BeeMobile.TransparentControls.NET48.dll) Version: 4.8.8.20
C#
public void Draw(
	Graphics graphics,
	Point parentOffset
)

Parameters

graphics  Graphics
The graphics object, to draw on.
parentOffset  Point
The offset of the parent, relative to upper left corner of the graphics object.

Implements

IGraphicsElement.Draw(Graphics, Point)

Remarks

Draw method is supposed to be called, to draw the primitive. It clips the graphics surface to the actual bounds of the primitive. Calls the DrawContent(Graphics, Rectangle) method for itself and calls Draw(Graphics, Point) for child primitives. After drawing, it resets te clipping.

See Also