Editar

Compartilhar via


SKSurfaceProperties Constructors

Definition

Overloads

SKSurfaceProperties(SKPixelGeometry)

Creates a new SKSurfaceProperties instance.

SKSurfaceProperties(SKSurfaceProps)
Obsolete.

Creates a new SKSurfaceProperties instance.

SKSurfaceProperties(SKSurfacePropsFlags, SKPixelGeometry)

Creates a new SKSurfaceProperties instance.

SKSurfaceProperties(UInt32, SKPixelGeometry)

Creates a new SKSurfaceProperties instance.

SKSurfaceProperties(SKPixelGeometry)

Creates a new SKSurfaceProperties instance.

public SKSurfaceProperties (SkiaSharp.SKPixelGeometry pixelGeometry);

Parameters

pixelGeometry
SKPixelGeometry

The description of how the LCD strips are arranged for each pixel.

Applies to

SKSurfaceProperties(SKSurfaceProps)

Caution

This API is now deprecated.

Creates a new SKSurfaceProperties instance.

[System.Obsolete]
public SKSurfaceProperties (SkiaSharp.SKSurfaceProps props);

Parameters

props
SKSurfaceProps

The properties of the surface.

Attributes

Applies to

SKSurfaceProperties(SKSurfacePropsFlags, SKPixelGeometry)

Creates a new SKSurfaceProperties instance.

public SKSurfaceProperties (SkiaSharp.SKSurfacePropsFlags flags, SkiaSharp.SKPixelGeometry pixelGeometry);

Parameters

flags
SKSurfacePropsFlags

The flags to use when creating the surface.

pixelGeometry
SKPixelGeometry

The LCD geometry of each pixel on the surface.

Applies to

SKSurfaceProperties(UInt32, SKPixelGeometry)

Creates a new SKSurfaceProperties instance.

public SKSurfaceProperties (uint flags, SkiaSharp.SKPixelGeometry pixelGeometry);

Parameters

flags
UInt32

The flags to use when creating the surface.

pixelGeometry
SKPixelGeometry

The LCD geometry of each pixel on the surface.

Applies to