Finalizes the drawing which this drawing context belongs to.
Draws the specified Drawing into the current drawing context. To set the position and size of the drawing, use the
pushTransform function. The drawing can be easily aligned with the settings
parameter.
Draws an ellipse around the point center
and fills it with the brush which has been previously set using the setBrush
function, and strokes it using the pen which has been previously set with the setPen function. In case you want to draw
a larger number of ellipses (e.g. points), consider using the drawGeometry function with a GeometryGroup, containing
multiple EllipseGeometry objects to improve the drawing performance.
Draws the specified Geometry and fills it with the brush which has been previously set using the setBrush function,
and strokes it using the pen which has been previously set with the setPen function. In case you want to draw a larger
number of geometries, consider creating a GeometryGroup, containing multiple Geometry objects to improve the drawing
performance. The geometry can be easily aligned with the settings
parameter.
Draws the specified Bitmap buffer that is stored with the specified [[ImageDataLayout]] with the specified ImageDrawingSettings.
Draws a line using from start
to end
using the pen which has been previously set with the setPen function.
In case you want to draw a larger number of lines, consider using the drawLines or drawGeometry function
to improve the drawing performance.
Draws multiple lines that are not connected using the pen which has been previously set with the setPen function.
The number of points provided as parameter lines
must be even. Each two points describe a line. In case you want to draw
connected points, please consider using the function drawGeometry instead of using the drawLines function with
duplicate points.
Draws a rectangle with of width w
and height h
at Point x;y
and fills it with the brush which has been previously
set using the setBrush function, and strokes it using the pen which has been previously set
with the setPen function. In case you want to draw a larger number of rectangles, consider
using the drawGeometry function with a GeometryGroup, containing
multiple RectangleGeometry objects to improve the drawing performance.
Draws the specified FormattedText at with the specified TextDrawingSettings. There are numerous properties which will help you to adjust how the text is arranged and displayed. For more information, please read the chapters '[FormattedText]', '[Font]' and '[TextDrawingSettings]'.
Removes the brush that has previously been set with the setBrush function. All subsequent calls to drawRectangle, drawEllipse and drawGeometry will not be filled.
Removes the pen that has previously been set with the setPen function. All subsequent calls to drawLine, drawLines, drawRectangle, drawEllipse and drawGeometry will not be stroked.
Places a highlight on the plot. The final position and alignment will be determined by the current transformation stack. Highlights associated with measurement values will be shown if the associated measurement is activated by interactive elements in a report. Highlights can also be associated with tooltips can be selected by the user and will be displayed in PiWeb Monitor.
Removes the most recent effect caused by pushTransform, pushOpacity or pushClip from the stack. This function will cause an error in case none of the specified commands has been executed before.
Sets a new clip geometry. All subsequent drawing calls will only be rendered inside the fill area of the specified geometry
.
Be aware that unfilled geometries like straight lines don't have any fill area, which means that all subsequent drawing calls
have no effect. To undo it, use the pop function.
Sets the opacity of all subsequent drawing calls. When drawing transparent objects, the transparency of the object is
multiplied with the specified opacity
. To undo it, use the pop function.
Sets the brush that will be used for all subsequent calls to drawRectangle, drawEllipse and drawGeometry. In case you don't want your rectangle, ellipse or geometry to be filled, use the noBrush function.
Sets the pen that will be used for all subsequent calls to drawLine, drawLines, drawRectangle, drawEllipse and drawGeometry. In case you don't want your rectangle, ellipse or geometry to be stroked, use the noPen function.
Generated using TypeDoc
Describes the content of a drawing with the help of various drawing commands.