Share via


Compositor.CreateSpriteShape Method

Definition

Overloads

CreateSpriteShape()

Creates an instance of CompositionSpriteShape.

CreateSpriteShape(CompositionGeometry)

Creates an instance of CompositionSpriteShape using the specified geometry.

CreateSpriteShape()

Creates an instance of CompositionSpriteShape.

public:
 virtual CompositionSpriteShape ^ CreateSpriteShape() = CreateSpriteShape;
/// [Windows.Foundation.Metadata.Overload("CreateSpriteShape")]
CompositionSpriteShape CreateSpriteShape();
[Windows.Foundation.Metadata.Overload("CreateSpriteShape")]
public CompositionSpriteShape CreateSpriteShape();
function createSpriteShape()
Public Function CreateSpriteShape () As CompositionSpriteShape

Returns

Returns the created CompositionSpriteShape object.

Attributes

Applies to

CreateSpriteShape(CompositionGeometry)

Creates an instance of CompositionSpriteShape using the specified geometry.

public:
 virtual CompositionSpriteShape ^ CreateSpriteShape(CompositionGeometry ^ geometry) = CreateSpriteShape;
/// [Windows.Foundation.Metadata.Overload("CreateSpriteShapeWithGeometry")]
CompositionSpriteShape CreateSpriteShape(CompositionGeometry const& geometry);
[Windows.Foundation.Metadata.Overload("CreateSpriteShapeWithGeometry")]
public CompositionSpriteShape CreateSpriteShape(CompositionGeometry geometry);
function createSpriteShape(geometry)
Public Function CreateSpriteShape (geometry As CompositionGeometry) As CompositionSpriteShape

Parameters

geometry
CompositionGeometry

The geometry of the shape to create.

Returns

Returns the created CompositionSpriteShape object.

Attributes

Applies to