Compositor.CreateSpriteShape 方法

定义

重载

CreateSpriteShape()

创建 CompositionSpriteShape 的实例。

CreateSpriteShape(CompositionGeometry)

使用指定的几何图形创建 CompositionSpriteShape 的实例。

CreateSpriteShape()

创建 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

返回

返回创建的 CompositionSpriteShape 对象。

属性

适用于

CreateSpriteShape(CompositionGeometry)

使用指定的几何图形创建 CompositionSpriteShape 的实例。

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

参数

geometry
CompositionGeometry

要创建的形状的几何图形。

返回

返回创建的 CompositionSpriteShape 对象。

属性

适用于