SurfaceImageSource SurfaceImageSource SurfaceImageSource SurfaceImageSource Constructors

Definition

Overloads

SurfaceImageSource(Int32, Int32) SurfaceImageSource(Int32, Int32) SurfaceImageSource(Int32, Int32) SurfaceImageSource(Int32, Int32)

Initializes a new instance of the SurfaceImageSource class, specifying the size of the drawing area.

SurfaceImageSource(Int32, Int32, Boolean) SurfaceImageSource(Int32, Int32, Boolean) SurfaceImageSource(Int32, Int32, Boolean) SurfaceImageSource(Int32, Int32, Boolean)

Initializes a new instance of the SurfaceImageSource class, specifying the size of the drawing area, and whether opacity is expected to be always full opacity. Use this with isOpaque=true if SurfaceImageSource should not support transparency; this can increase performance.

SurfaceImageSource(Int32, Int32) SurfaceImageSource(Int32, Int32) SurfaceImageSource(Int32, Int32) SurfaceImageSource(Int32, Int32)

Initializes a new instance of the SurfaceImageSource class, specifying the size of the drawing area.

public : SurfaceImageSource(int pixelWidth, int pixelHeight)
SurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight) const;
public SurfaceImageSource(Int32 pixelWidth, Int32 pixelHeight)
Public Sub New(pixelWidth As Int32, pixelHeight As Int32)

Parameters

pixelWidth
Int32 Int32

Width of the drawing area in pixels.

pixelHeight
Int32 Int32

Height of the drawing area in pixels.

See also

SurfaceImageSource(Int32, Int32, Boolean) SurfaceImageSource(Int32, Int32, Boolean) SurfaceImageSource(Int32, Int32, Boolean) SurfaceImageSource(Int32, Int32, Boolean)

Initializes a new instance of the SurfaceImageSource class, specifying the size of the drawing area, and whether opacity is expected to be always full opacity. Use this with isOpaque=true if SurfaceImageSource should not support transparency; this can increase performance.

public : SurfaceImageSource(int pixelWidth, int pixelHeight, bool isOpaque)
SurfaceImageSource(int32_t pixelWidth, int32_t pixelHeight, bool isOpaque) const;
public SurfaceImageSource(Int32 pixelWidth, Int32 pixelHeight, Boolean isOpaque)
Public Sub New(pixelWidth As Int32, pixelHeight As Int32, isOpaque As Boolean)

Parameters

pixelWidth
Int32 Int32

Width of the drawing area in pixels.

pixelHeight
Int32 Int32

Height of the drawing area in pixels.

isOpaque
Boolean Boolean

true if the area should render opaque. false to render with possible alpha transparency. A value of true can provide a performance benefit if the content is not transparent.

See also