SKSurfaceProperties Class

Definition

Describes properties and constraints of a given SKSurface.

public class SKSurfaceProperties : SkiaSharp.SKObject
Inheritance
SKSurfaceProperties

Remarks

The rendering engine can parse these during drawing, and can sometimes optimize its performance (e.g. disabling an expensive feature).

Constructors

SKSurfaceProperties(SKPixelGeometry)

Creates a new SKSurfaceProperties instance.

SKSurfaceProperties(SKSurfaceProps)

Creates a new SKSurfaceProperties instance.

SKSurfaceProperties(SKSurfacePropsFlags, SKPixelGeometry)

Creates a new SKSurfaceProperties instance.

SKSurfaceProperties(UInt32, SKPixelGeometry)

Creates a new SKSurfaceProperties instance.

Properties

Flags

Gets or sets the flags.

Handle

Gets or sets the handle to the underlying native object.

(Inherited from SKObject)
IsUseDeviceIndependentFonts

Gets a value indicating whether the surface should use device independent fonts.

OwnsHandle

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

(Inherited from SKObject)
PixelGeometry

Gets or sets the LCD geometry of each pixel on the surface.

Methods

Dispose()

Releases all resources used by this SKNativeObject.

(Inherited from SKNativeObject)
Dispose(Boolean)

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

Applies to