Compositor.CreateSpriteShape Compositor.CreateSpriteShape Compositor.CreateSpriteShape Compositor.CreateSpriteShape Method

Definition

Overloads

CreateSpriteShape() CreateSpriteShape() CreateSpriteShape() CreateSpriteShape()

Creates an instance of CompositionSpriteShape.

CreateSpriteShape(CompositionGeometry) CreateSpriteShape(CompositionGeometry) CreateSpriteShape(CompositionGeometry) CreateSpriteShape(CompositionGeometry)

Creates an instance of CompositionSpriteShape using the specified geometry.

CreateSpriteShape() CreateSpriteShape() CreateSpriteShape() CreateSpriteShape()

Creates an instance of CompositionSpriteShape.

public : CompositionSpriteShape CreateSpriteShape()
CompositionSpriteShape CreateSpriteShape() const;
public CompositionSpriteShape CreateSpriteShape()
Public Function CreateSpriteShape() As CompositionSpriteShape

Returns

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)

CreateSpriteShape(CompositionGeometry) CreateSpriteShape(CompositionGeometry) CreateSpriteShape(CompositionGeometry) CreateSpriteShape(CompositionGeometry)

Creates an instance of CompositionSpriteShape using the specified geometry.

public : CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry)
CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry) const;
public CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry)
Public Function CreateSpriteShape(geometry As CompositionGeometry) As CompositionSpriteShape

Parameters

geometry
CompositionGeometry CompositionGeometry

The geometry of the shape to create.

Returns

Additional features and requirements

Device family
Windows 10, version 1803 (introduced v10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v6)