Bagikan melalui


Compositor.CreateSpriteShape Metode

Definisi

Overload

CreateSpriteShape()

Membuat instans CompositionSpriteShape.

CreateSpriteShape(CompositionGeometry)

Membuat instans CompositionSpriteShape menggunakan geometri yang ditentukan.

CreateSpriteShape()

Membuat instans 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

Mengembalikan

Mengembalikan objek CompositionSpriteShape yang dibuat.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1803 (diperkenalkan dalam 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v6.0)

Berlaku untuk

CreateSpriteShape(CompositionGeometry)

Membuat instans CompositionSpriteShape menggunakan geometri yang ditentukan.

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

Parameter

geometry
CompositionGeometry

Geometri bentuk yang akan dibuat.

Mengembalikan

Mengembalikan objek CompositionSpriteShape yang dibuat.

Atribut

Persyaratan Windows

Rangkaian perangkat
Windows 10, version 1803 (diperkenalkan dalam 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (diperkenalkan dalam v6.0)

Berlaku untuk