SkiaSharpDrawingContext
Class

Assembly LiveChartsCore.SkiaSharpView
Namespace LiveChartsCore.SkiaSharpView.Drawing

Summary:
Defines a skia sharp drawing context.

Inheritance:
Object =>
DrawingContext =>
SkiaSharpDrawingContext

Constructors

// Defines a skia sharp drawing context.
CoreMotionCanvas motionCanvas, // The motion canvas.
SKImageInfo info, // The information.
SKSurface surface, // The surface.
SKCanvas canvas, // The canvas.
Boolean clearOnBeginDraw// Indicates whether the canvas is cleared on frame draw.
)
// Initializes a new instance of the SkiaSharpDrawingContext class.
CoreMotionCanvas motionCanvas, // The motion canvas.
SKImageInfo info, // The information.
SKSurface surface, // The surface.
SKCanvas canvas, // The canvas.
SKColor background, // The background.
Boolean clearOnBeginDraw// Indicates whether the canvas is cleared on frame draw.
)

Properties

Gets or sets the motion canvas.
Type: CoreMotionCanvas
Gets or sets the information.
Type: SKImageInfo
Gets or sets the surface.
Type: SKSurface
Gets or sets the canvas.
Type: SKCanvas
Gets or sets the paint.
Type: SKPaint
Gets or sets the background.
Type: SKColor
Gets the active opacity.
Type: Single
Gets the active paint task.
Type: Paint

Methods

// Called when the frame starts.
// Draws the given string over the canvas.
String log// the log content.
)
// Draws the given element.
IDrawnElement drawable// The drawable element.
)
// Initializes the task.
Paint paint//
)
// Disposes the task.
Paint paint//
)
// Called when the frame ends.