Compositor.CreateSpriteShape Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|
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
Windows requirements
Device family |
Windows 10, version 1803 (introduced in 10.0.17134.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v6.0)
|