PlaneProjection Class

Rappresenta una trasformazione prospettica, ovvero un effetto simile a quello tridimensionale, su un oggetto.

Ereditarietà

Object
  DependencyObject
    Projection
      PlaneProjection

Sintassi


public sealed class PlaneProjection : Projection

Attributi

[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]
[WebHostHidden()]

Membri

PlaneProjectionClasse include questi tipi di membri:

Costruttori

PlaneProjectionClasse include questi costruttori.

CostruttoreDescrizione
PlaneProjection Initializes a new instance of the PlaneProjection class.

 

Metodi

The PlaneProjection Classe dispone di tali metodi. Eredita inoltre i metodi da Object Classe.

MetodoDescrizione
ClearValue Clears the local value of a dependency property. (Ereditata da DependencyObject)
GetAnimationBaseValue Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (Ereditata da DependencyObject)
GetValue Returns the current effective value of a dependency property from a DependencyObject. (Ereditata da DependencyObject)
ReadLocalValue Returns the local value of a dependency property, if a local value is set. (Ereditata da DependencyObject)
SetValue Sets the local value of a dependency property on a DependencyObject. (Ereditata da DependencyObject)

 

Proprietà

Classe dispone di tali proprietà. di PlaneProjection

ProprietàTipo di accessoDescrizione

CenterOfRotationX

Lettura/scritturaGets or sets the x-coordinate of the center of rotation of the object that you rotate.

CenterOfRotationXProperty

Sola letturaIdentifies the CenterOfRotationX dependency property.

CenterOfRotationY

Lettura/scritturaGets or sets the y-coordinate of the center of rotation of the object that you rotate.

CenterOfRotationYProperty

Sola letturaIdentifies the CenterOfRotationY dependency property.

CenterOfRotationZ

Lettura/scritturaGets or sets the z-coordinate of the center of rotation of the object that you rotate.

CenterOfRotationZProperty

Sola letturaIdentifies the CenterOfRotationZ dependency property.

Dispatcher

Sola letturaGets the CoreDispatcher that this object is associated with. (Ereditata da DependencyObject)

GlobalOffsetX

Lettura/scritturaGets or sets the distance that the object is translated along the x-axis of the screen.

GlobalOffsetXProperty

Sola letturaIdentifies the GlobalOffsetX dependency property.

GlobalOffsetY

Lettura/scritturaGets or sets the distance that the object is translated along the y-axis of the screen.

GlobalOffsetYProperty

Sola letturaIdentifies the GlobalOffsetY dependency property.

GlobalOffsetZ

Lettura/scritturaGets or sets the distance that the object is translated along the z-axis of the screen.

GlobalOffsetZProperty

Sola letturaIdentifies the GlobalOffsetZ dependency property.

LocalOffsetX

Lettura/scritturaGets or sets the distance that the object is translated along the x-axis of the plane of the object.

LocalOffsetXProperty

Sola letturaIdentifies the LocalOffsetX dependency property.

LocalOffsetY

Lettura/scritturaGets or sets the distance that the object is translated along the y-axis of the plane of the object.

LocalOffsetYProperty

Sola letturaIdentifies the LocalOffsetY dependency property.

LocalOffsetZ

Lettura/scritturaGets or sets the distance that the object is translated along the z-axis of the plane of the object.

LocalOffsetZProperty

Sola letturaIdentifies the LocalOffsetZ dependency property.

ProjectionMatrix

Sola letturaGets the projection matrix of the PlaneProjection.

ProjectionMatrixProperty

Sola letturaIdentifies the ProjectionMatrix dependency property.

RotationX

Lettura/scritturaGets or sets the number of degrees to rotate the object around the x-axis of rotation.

RotationXProperty

Sola letturaIdentifies the RotationX dependency property.

RotationY

Lettura/scritturaGets or sets the number of degrees to rotate the object around the y-axis of rotation.

RotationYProperty

Sola letturaIdentifies the RotationY dependency property.

RotationZ

Lettura/scritturaGets or sets the number of degrees to rotate the object around the z-axis of rotation.

RotationZProperty

Sola letturaIdentifies the RotationZ dependency property.

 

Esempi

Per applicare una trasformazione della prospettiva a un oggetto UIElement, impostare la proprietà Projection dell'oggetto UIElement su PlaneProjection. PlaneProjection definisce il rendering della trasformazione nello spazio. In questo esempio viene mostrato un caso semplice.


<StackPanel Margin="35" Background="Gray">
    <StackPanel.Projection>
        <PlaneProjection RotationX="-35" RotationY="-35" RotationZ="15"  />
    </StackPanel.Projection>
    <TextBlock Margin="10">Type Something Below</TextBlock>
    <TextBox Margin="10"></TextBox>
    <Button Margin="10" Content="Click" Width="100" />
</StackPanel>


Requisiti

Client supportato minimo

Windows 8 [Solo applicazioni Windows Store]

Server supportato minimo

Windows Server 2012 [Solo applicazioni Windows Store]

Spazio dei nomi

Windows.UI.Xaml.Media
Windows::UI::Xaml::Media [C++]

Metadati

Windows.winmd

Vedere anche

Effetti 3-D per app di Windows Store
Projection

 

 

Mostra:
© 2014 Microsoft