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();
Public Function CreateSpriteShape () As CompositionSpriteShape

Returns

CompositionSpriteShape

Returns the created CompositionSpriteShape object.

Attributes
Windows.Foundation.Metadata.OverloadAttribute

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);
Public Function CreateSpriteShape (geometry As CompositionGeometry) As CompositionSpriteShape

Parameters

geometry
CompositionGeometry

The geometry of the shape to create.

Returns

CompositionSpriteShape

Returns the created CompositionSpriteShape object.

Attributes
Windows.Foundation.Metadata.OverloadAttribute

Applies to