Upravit

Sdílet prostřednictvím


SKNoDrawCanvas Class

Definition

A type of SKCanvas that provides a base type for canvases that do not need to rasterize.

public class SKNoDrawCanvas : SkiaSharp.SKCanvas
Inheritance
Derived

Remarks

These canvases are not backed by any device/pixels and they use conservative clipping (clipping calls only use rectangles).

Constructors

SKNoDrawCanvas(Int32, Int32)

Creates a new SKNoDrawCanvas with the specified dimensions.

Properties

DeviceClipBounds

Gets the bounds of the current clip (in device coordinates).

(Inherited from SKCanvas)
Handle

Gets or sets the handle to the underlying native object.

(Inherited from SKObject)
IgnorePublicDispose

Gets or sets a value indicating whether the call the public Dispose() should be no-op.

(Inherited from SKNativeObject)
IsClipEmpty (Inherited from SKCanvas)
IsClipRect (Inherited from SKCanvas)
IsDisposed

Gets or sets a value indicating whether the object has already been disposed.

(Inherited from SKNativeObject)
LocalClipBounds

Gets the bounds of the current clip (in local coordinates).

(Inherited from SKCanvas)
OwnsHandle

Gets a value indicating whether this object should destroy the underlying native object.

(Inherited from SKObject)
SaveCount

Gets the number of matrix/clip states on the canvas' private stack.

(Inherited from SKCanvas)
TotalMatrix

Gets the current matrix on the canvas.

(Inherited from SKCanvas)

Methods

Clear()

Replaces all the pixels in the canvas' current clip with the Empty color.

(Inherited from SKCanvas)
Clear(SKColor)

Replaces all the pixels in the canvas' current clip with the specified color.

(Inherited from SKCanvas)
Clear(SKColorF) (Inherited from SKCanvas)
ClipPath(SKPath, SKClipOperation, Boolean)

Modify the current clip with the specified path.

(Inherited from SKCanvas)
ClipRect(SKRect, SKClipOperation, Boolean)

Modify the current clip with the specified rectangle.

(Inherited from SKCanvas)
ClipRegion(SKRegion, SKClipOperation)

Modify the current clip with the specified region.

(Inherited from SKCanvas)
ClipRoundRect(SKRoundRect, SKClipOperation, Boolean)

Modify the current clip with the specified rounded rectangle.

(Inherited from SKCanvas)
Concat(SKMatrix)

Pre-concatenates the provided transformation matrix with the current transformation matrix.

(Inherited from SKCanvas)
Discard()

Makes the canvas contents undefined.

(Inherited from SKCanvas)
Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

Releases the unmanaged resources used by the SKCanvas and optionally releases the managed resources.

(Inherited from SKCanvas)
DisposeInternal()

Triggers a dispose, ignoring the value of IgnorePublicDispose.

(Inherited from SKNativeObject)
DisposeManaged()

Implemented by derived SKObject types to destroy any managed objects.

(Inherited from SKObject)
DisposeNative()

Implemented by derived SKObject types to destroy any native objects.

(Inherited from SKCanvas)
DisposeUnownedManaged() (Inherited from SKObject)
DrawAnnotation(SKRect, String, SKData)

Send an key/value pair "annotation" to the canvas.

(Inherited from SKCanvas)
DrawArc(SKRect, Single, Single, Boolean, SKPaint) (Inherited from SKCanvas)
DrawAtlas(SKImage, SKRect[], SKRotationScaleMatrix[], SKColor[], SKBlendMode, SKPaint) (Inherited from SKCanvas)
DrawAtlas(SKImage, SKRect[], SKRotationScaleMatrix[], SKColor[], SKBlendMode, SKRect, SKPaint) (Inherited from SKCanvas)
DrawAtlas(SKImage, SKRect[], SKRotationScaleMatrix[], SKPaint) (Inherited from SKCanvas)
DrawBitmap(SKBitmap, Single, Single, SKPaint)

Draws a bitmap on the canvas.

(Inherited from SKCanvas)
DrawBitmap(SKBitmap, SKPoint, SKPaint)

Draws a bitmap on the canvas.

(Inherited from SKCanvas)
DrawBitmap(SKBitmap, SKRect, SKPaint)

Draws a bitmap on the canvas.

(Inherited from SKCanvas)
DrawBitmap(SKBitmap, SKRect, SKRect, SKPaint)

Draws a bitmap on the canvas.

(Inherited from SKCanvas)
DrawBitmapLattice(SKBitmap, Int32[], Int32[], SKRect, SKPaint)

Draws the bitmap, stretched or shrunk differentially to fit into the destination rectangle.

(Inherited from SKCanvas)
DrawBitmapLattice(SKBitmap, SKLattice, SKRect, SKPaint)

Draws the bitmap, stretched or shrunk differentially to fit into the destination rectangle.

(Inherited from SKCanvas)
DrawBitmapNinePatch(SKBitmap, SKRectI, SKRect, SKPaint)

Draws the bitmap, stretched or shrunk differentially to fit into the destination rectangle.

(Inherited from SKCanvas)
DrawCircle(Single, Single, Single, SKPaint)

Draws a circle on the canvas.

(Inherited from SKCanvas)
DrawCircle(SKPoint, Single, SKPaint)

Draws a circle on the canvas.

(Inherited from SKCanvas)
DrawColor(SKColor, SKBlendMode)

Fills the current clipping area with the specified color using the specified color and blend mode.

(Inherited from SKCanvas)
DrawColor(SKColorF, SKBlendMode) (Inherited from SKCanvas)
DrawDrawable(SKDrawable, Single, Single)

Draws a drawable on the canvas.

(Inherited from SKCanvas)
DrawDrawable(SKDrawable, SKMatrix)

Draws a drawable on the canvas.

(Inherited from SKCanvas)
DrawDrawable(SKDrawable, SKPoint)

Draws a drawable on the canvas.

(Inherited from SKCanvas)
DrawImage(SKImage, Single, Single, SKPaint)

Draws an image on the canvas.

(Inherited from SKCanvas)
DrawImage(SKImage, SKPoint, SKPaint)

Draws an image on the canvas.

(Inherited from SKCanvas)
DrawImage(SKImage, SKRect, SKPaint)

Draws an image on the canvas.

(Inherited from SKCanvas)
DrawImage(SKImage, SKRect, SKRect, SKPaint)

Draws an image on the canvas.

(Inherited from SKCanvas)
DrawImageLattice(SKImage, Int32[], Int32[], SKRect, SKPaint)

Draws the image, stretched or shrunk differentially to fit into the destination rectangle.

(Inherited from SKCanvas)
DrawImageLattice(SKImage, SKLattice, SKRect, SKPaint)

Draws the image, stretched or shrunk differentially to fit into the destination rectangle.

(Inherited from SKCanvas)
DrawImageNinePatch(SKImage, SKRectI, SKRect, SKPaint)

Draws the image, stretched or shrunk differentially to fit into the destination rectangle.

(Inherited from SKCanvas)
DrawLine(Single, Single, Single, Single, SKPaint)

Draws a line on the canvas.

(Inherited from SKCanvas)
DrawLine(SKPoint, SKPoint, SKPaint)

Draws a line on the canvas.

(Inherited from SKCanvas)
DrawLinkDestinationAnnotation(SKRect, SKData)

Annotates the canvas by making the specified rectangle link to a named destination (see DrawNamedDestinationAnnotation(SKPoint, SKData)).

(Inherited from SKCanvas)
DrawLinkDestinationAnnotation(SKRect, String)

Annotates the canvas by making the specified rectangle link to a named destination (see DrawNamedDestinationAnnotation(SKPoint, String)).

(Inherited from SKCanvas)
DrawNamedDestinationAnnotation(SKPoint, SKData)

Annotates the canvas by associating a name with the specified point (see DrawLinkDestinationAnnotation(SKRect, SKData)).

(Inherited from SKCanvas)
DrawNamedDestinationAnnotation(SKPoint, String)

Annotates the canvas by associating a name with the specified point (see DrawLinkDestinationAnnotation(SKRect, String)).

(Inherited from SKCanvas)
DrawOval(Single, Single, Single, Single, SKPaint)

Draws an oval on the canvas.

(Inherited from SKCanvas)
DrawOval(SKPoint, SKSize, SKPaint)

Draws an oval on the canvas.

(Inherited from SKCanvas)
DrawOval(SKRect, SKPaint)

Draws an oval on the canvas.

(Inherited from SKCanvas)
DrawPaint(SKPaint)

Fills the current clipping path with the specified paint.

(Inherited from SKCanvas)
DrawPatch(SKPoint[], SKColor[], SKPoint[], SKBlendMode, SKPaint) (Inherited from SKCanvas)
DrawPatch(SKPoint[], SKColor[], SKPoint[], SKPaint) (Inherited from SKCanvas)
DrawPath(SKPath, SKPaint)

Draws a path in the canvas.

(Inherited from SKCanvas)
DrawPicture(SKPicture, Single, Single, SKPaint)

Draws a picture on the canvas.

(Inherited from SKCanvas)
DrawPicture(SKPicture, SKMatrix, SKPaint)

Draws a picture on the canvas.

(Inherited from SKCanvas)
DrawPicture(SKPicture, SKPaint)

Draws a picture on the canvas.

(Inherited from SKCanvas)
DrawPicture(SKPicture, SKPoint, SKPaint)

Draws a picture on the canvas.

(Inherited from SKCanvas)
DrawPoint(Single, Single, SKColor)

Draws a point in the canvas with the specified color.

(Inherited from SKCanvas)
DrawPoint(Single, Single, SKPaint)

Draws a point in the canvas with the specified color.

(Inherited from SKCanvas)
DrawPoint(SKPoint, SKColor)

Draws a point in the canvas with the specified color.

(Inherited from SKCanvas)
DrawPoint(SKPoint, SKPaint)

Draws a point in the canvas with the specified color.

(Inherited from SKCanvas)
DrawPoints(SKPointMode, SKPoint[], SKPaint)

Draws an array of points, lines or a polygon in the canvas, one at a time.

(Inherited from SKCanvas)
DrawPositionedText(Byte[], SKPoint[], SKPaint)
Obsolete.

Draws glyphs of the text at specified locations on the canvas.

(Inherited from SKCanvas)
DrawPositionedText(IntPtr, Int32, SKPoint[], SKPaint)
Obsolete.

Draws text from a UTF-8 buffer at specified locations on the canvas.

(Inherited from SKCanvas)
DrawPositionedText(String, SKPoint[], SKPaint)
Obsolete.

Draws glyphs of the text at specified locations on the canvas.

(Inherited from SKCanvas)
DrawRect(Single, Single, Single, Single, SKPaint)

Draws a rectangle in the canvas.

(Inherited from SKCanvas)
DrawRect(SKRect, SKPaint)

Draws a rectangle in the canvas.

(Inherited from SKCanvas)
DrawRegion(SKRegion, SKPaint)

Draws the outline of the specified region using the specified paint.

(Inherited from SKCanvas)
DrawRoundRect(Single, Single, Single, Single, Single, Single, SKPaint)

Draws a rounded rectangle in the canvas.

(Inherited from SKCanvas)
DrawRoundRect(SKRect, Single, Single, SKPaint)

Draws a rounded rectangle in the canvas.

(Inherited from SKCanvas)
DrawRoundRect(SKRect, SKSize, SKPaint)

Draws a rounded rectangle in the canvas.

(Inherited from SKCanvas)
DrawRoundRect(SKRoundRect, SKPaint)

Draws a rounded rectangle in the canvas.

(Inherited from SKCanvas)
DrawRoundRectDifference(SKRoundRect, SKRoundRect, SKPaint) (Inherited from SKCanvas)
DrawSurface(SKSurface, Single, Single, SKPaint)

Draws a surface on the canvas.

(Inherited from SKCanvas)
DrawSurface(SKSurface, SKPoint, SKPaint)

Draws a surface on the canvas.

(Inherited from SKCanvas)
DrawText(Byte[], Single, Single, SKPaint)
Obsolete.

Draws text on the canvas at the specified coordinates.

(Inherited from SKCanvas)
DrawText(Byte[], SKPoint, SKPaint)
Obsolete.

Draws text on the canvas at the specified coordinates.

(Inherited from SKCanvas)
DrawText(IntPtr, Int32, Single, Single, SKPaint)
Obsolete.

Draws text encoded in a UTF-8 buffer on the canvas at the specified coordinates.

(Inherited from SKCanvas)
DrawText(IntPtr, Int32, SKPoint, SKPaint)
Obsolete.

Draws text encoded in a UTF-8 buffer on the canvas at the specified coordinates.

(Inherited from SKCanvas)
DrawText(SKTextBlob, Single, Single, SKPaint)

Draws a text blob on the canvas at the specified coordinates.

(Inherited from SKCanvas)
DrawText(String, Single, Single, SKFont, SKPaint) (Inherited from SKCanvas)
DrawText(String, Single, Single, SKPaint)

Draws text on the canvas at the specified coordinates.

(Inherited from SKCanvas)
DrawText(String, SKPoint, SKPaint)

Draws text on the canvas at the specified coordinates.

(Inherited from SKCanvas)
DrawTextOnPath(Byte[], SKPath, Single, Single, SKPaint)
Obsolete.

Draws text on the canvas following a path.

(Inherited from SKCanvas)
DrawTextOnPath(Byte[], SKPath, SKPoint, SKPaint)
Obsolete.

Draws text on the canvas following a path.

(Inherited from SKCanvas)
DrawTextOnPath(IntPtr, Int32, SKPath, Single, Single, SKPaint)
Obsolete.

Draws text encoded in a UTF-8 buffer on the canvas following a path.

(Inherited from SKCanvas)
DrawTextOnPath(IntPtr, Int32, SKPath, SKPoint, SKPaint)
Obsolete.

Draws text on the canvas following a path.

(Inherited from SKCanvas)
DrawTextOnPath(String, SKPath, Single, Single, SKPaint)

Draws text on the canvas following a path.

(Inherited from SKCanvas)
DrawTextOnPath(String, SKPath, SKPoint, Boolean, SKFont, SKPaint) (Inherited from SKCanvas)
DrawTextOnPath(String, SKPath, SKPoint, Boolean, SKPaint) (Inherited from SKCanvas)
DrawTextOnPath(String, SKPath, SKPoint, SKPaint)

Draws text on the canvas following a path.

(Inherited from SKCanvas)
DrawUrlAnnotation(SKRect, SKData)

Annotates the canvas by associating the specified URL with the specified rectangle (in local coordinates).

(Inherited from SKCanvas)
DrawUrlAnnotation(SKRect, String)

Annotates the canvas by associating the specified URL with the specified rectangle (in local coordinates).

(Inherited from SKCanvas)
DrawVertices(SKVertexMode, SKPoint[], SKColor[], SKPaint)

Draws an array of vertices, interpreted as triangles (based on mode).

(Inherited from SKCanvas)
DrawVertices(SKVertexMode, SKPoint[], SKPoint[], SKColor[], SKBlendMode, UInt16[], SKPaint)

Draws an array of vertices, interpreted as triangles (based on mode).

(Inherited from SKCanvas)
DrawVertices(SKVertexMode, SKPoint[], SKPoint[], SKColor[], SKPaint)

Draws an array of vertices, interpreted as triangles (based on mode).

(Inherited from SKCanvas)
DrawVertices(SKVertexMode, SKPoint[], SKPoint[], SKColor[], UInt16[], SKPaint)

Draws an array of vertices, interpreted as triangles (based on mode).

(Inherited from SKCanvas)
DrawVertices(SKVertices, SKBlendMode, SKPaint)

Draws a set of vertices.

(Inherited from SKCanvas)
Flush()

Triggers the immediate execution of all pending draw operations.

(Inherited from SKCanvas)
GetDeviceClipBounds(SKRectI)

Returns the bounds of the current clip (in device coordinates).

(Inherited from SKCanvas)
GetLocalClipBounds(SKRect)

Returns the bounds of the current clip (in local coordinates).

(Inherited from SKCanvas)
QuickReject(SKPath)

Checks to see if the specified path, after being transformed by the current matrix, would lie completely outside of the current clip.

(Inherited from SKCanvas)
QuickReject(SKRect)

Checks to see if the specified rectangle, after being transformed by the current matrix, would lie completely outside of the current clip.

(Inherited from SKCanvas)
ResetMatrix()

Sets the current matrix to identity.

(Inherited from SKCanvas)
Restore()

Restore the canvas state.

(Inherited from SKCanvas)
RestoreToCount(Int32)

Efficiently restores the state to a specific level.

(Inherited from SKCanvas)
RotateDegrees(Single, Single, Single)

Pre-concatenates the current matrix with the specified rotation, around the specified point.

(Inherited from SKCanvas)
RotateDegrees(Single)

Pre-concatenates the current matrix with the specified rotation.

(Inherited from SKCanvas)
RotateRadians(Single, Single, Single)

Pre-concatenates the current matrix with the specified rotation, around the specified point.

(Inherited from SKCanvas)
RotateRadians(Single)

Pre-concatenates the current matrix with the specified rotation.

(Inherited from SKCanvas)
Save()

Saves the canvas state.

(Inherited from SKCanvas)
SaveLayer() (Inherited from SKCanvas)
SaveLayer(SKPaint)

Saves the canvas state and allocates an offscreen bitmap.

(Inherited from SKCanvas)
SaveLayer(SKRect, SKPaint)

Saves the canvas state and allocates an offscreen bitmap.

(Inherited from SKCanvas)
Scale(Single, Single, Single, Single)

Pre-concatenates the current matrix with the specified scale, at the specific offset.

(Inherited from SKCanvas)
Scale(Single, Single)

Pre-concatenates the current matrix with the specified scale.

(Inherited from SKCanvas)
Scale(Single)

Pre-concatenates the current matrix with the specified scale.

(Inherited from SKCanvas)
Scale(SKPoint)

Pre-concatenates the current matrix with the specified scale.

(Inherited from SKCanvas)
SetMatrix(SKMatrix)

Replaces the current matrix with a copy of the specified matrix.

(Inherited from SKCanvas)
Skew(Single, Single)

Pre-concatenates the current matrix with the specified skew.

(Inherited from SKCanvas)
Skew(SKPoint)

Pre-concatenates the current matrix with the specified skew.

(Inherited from SKCanvas)
Translate(Single, Single)

Pre-concatenates the current matrix with the specified translation.

(Inherited from SKCanvas)
Translate(SKPoint)

Pre-concatenates the current matrix with the specified translation.

(Inherited from SKCanvas)

Applies to