PrimitiveBaseDraw Method
Draws the primitive on a graphics surface.
Namespace: BeeMobile.TransparentControls.PrimitivesAssembly: BeeMobile.TransparentControls.NET48 (in BeeMobile.TransparentControls.NET48.dll) Version: 4.8.8.20
public void Draw(
Graphics graphics,
Point parentOffset
)
Public Sub Draw (
graphics As Graphics,
parentOffset As Point
)
- graphics Graphics
- The graphics object, to draw on.
- parentOffset Point
- The offset of the parent, relative to upper left corner of the graphics object.
IGraphicsElement.Draw(Graphics, Point)
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.