CompositeTransform3D
CompositeTransform3D
CompositeTransform3D
CompositeTransform3D
Class
Definition
Represents 3-D scale, rotation, and translate transforms to be applied to an element.
public : sealed class CompositeTransform3D : Transform3D, ICompositeTransform3Dpublic sealed class CompositeTransform3D : Transform3D, ICompositeTransform3DPublic NotInheritable Class CompositeTransform3D Inherits Transform3D Implements ICompositeTransform3D// This API is not available in Javascript.
- Inheritance
-
CompositeTransform3DCompositeTransform3DCompositeTransform3DCompositeTransform3D
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Inherited Members
Inherited methods
Inherited properties
Remarks
For examples and more info about using CompositeTransform3D class, see the UIElement.Transform3D property.
The available transforms are applied in the following order:
- Scale (ScaleX, ScaleY, ScaleZ )
- Rotation (RotationX, RotationY, RotationZ )
- Translate (TranslateX, TranslateY, TranslateZ )
All transformations occur around the same center point defined by CenterX, CenterY, and CenterZ.
You can animate each property of a CompositeTransform3D independently.
Constructors
CompositeTransform3D() CompositeTransform3D() CompositeTransform3D() CompositeTransform3D()
Initializes a new instance of the CompositeTransform3D class.
public : CompositeTransform3D()public CompositeTransform3D()Public Sub New()// This API is not available in Javascript.
Properties
CenterX CenterX CenterX CenterX
Gets the x-coordinate of the center point in pixels for all transforms specified by the CompositeTransform3D.
public : double CenterX { get; set; }public double CenterX { get; set; }Public ReadWrite Property CenterX As double// This API is not available in Javascript.
- Value
- double double double double
The x-coordinate of the center point for all transforms specified by the CompositeTransform3D. The default value is 0.
CenterXProperty CenterXProperty CenterXProperty CenterXProperty
Identifies the CenterX dependency property.
public : static DependencyProperty CenterXProperty { get; }public static DependencyProperty CenterXProperty { get; }Public Static ReadOnly Property CenterXProperty As DependencyProperty// This API is not available in Javascript.
The CenterX dependency property identifier.
CenterY CenterY CenterY CenterY
Gets the y-coordinate of the center point in pixels for all transforms specified by the CompositeTransform3D.
public : double CenterY { get; set; }public double CenterY { get; set; }Public ReadWrite Property CenterY As double// This API is not available in Javascript.
- Value
- double double double double
The y-coordinate of the center point for all transforms specified by the CompositeTransform3D. The default value is 0.
CenterYProperty CenterYProperty CenterYProperty CenterYProperty
Identifies the CenterY dependency property.
public : static DependencyProperty CenterYProperty { get; }public static DependencyProperty CenterYProperty { get; }Public Static ReadOnly Property CenterYProperty As DependencyProperty// This API is not available in Javascript.
The CenterY dependency property identifier.
CenterZ CenterZ CenterZ CenterZ
Gets the z-coordinate of the center point in pixels for all transforms specified by the CompositeTransform3D.
public : double CenterZ { get; set; }public double CenterZ { get; set; }Public ReadWrite Property CenterZ As double// This API is not available in Javascript.
- Value
- double double double double
The z-coordinate of the center point for all transforms specified by the CompositeTransform3D. The default value is 0.
CenterZProperty CenterZProperty CenterZProperty CenterZProperty
Identifies the CenterZ dependency property.
public : static DependencyProperty CenterZProperty { get; }public static DependencyProperty CenterZProperty { get; }Public Static ReadOnly Property CenterZProperty As DependencyProperty// This API is not available in Javascript.
The CenterZ dependency property identifier.
RotationX RotationX RotationX RotationX
Gets or sets the angle in degrees of counterclockwise rotation around the x-axis.
public : double RotationX { get; set; }public double RotationX { get; set; }Public ReadWrite Property RotationX As double// This API is not available in Javascript.
- Value
- double double double double
The angle of rotation around the x-axis, given in degrees in a counterclockwise direction. The default value is 0 degrees.
RotationXProperty RotationXProperty RotationXProperty RotationXProperty
Identifies the RotationX dependency property.
public : static DependencyProperty RotationXProperty { get; }public static DependencyProperty RotationXProperty { get; }Public Static ReadOnly Property RotationXProperty As DependencyProperty// This API is not available in Javascript.
The RotationX dependency property identifier.
RotationY RotationY RotationY RotationY
Gets or sets the angle in degrees of counterclockwise rotation around the y-axis.
public : double RotationY { get; set; }public double RotationY { get; set; }Public ReadWrite Property RotationY As double// This API is not available in Javascript.
- Value
- double double double double
The angle of rotation around the y-axis, given in degrees in a counterclockwise direction. The default value is 0 degrees.
RotationYProperty RotationYProperty RotationYProperty RotationYProperty
Identifies the RotationY dependency property.
public : static DependencyProperty RotationYProperty { get; }public static DependencyProperty RotationYProperty { get; }Public Static ReadOnly Property RotationYProperty As DependencyProperty// This API is not available in Javascript.
The RotationY dependency property identifier.
RotationZ RotationZ RotationZ RotationZ
Gets or sets the angle in degrees of counterclockwise rotation around the z-axis.
public : double RotationZ { get; set; }public double RotationZ { get; set; }Public ReadWrite Property RotationZ As double// This API is not available in Javascript.
- Value
- double double double double
The angle of rotation around the z-axis, given in degrees in a counterclockwise direction. The default value is 0 degrees.
RotationZProperty RotationZProperty RotationZProperty RotationZProperty
Identifies the RotationZ dependency property.
public : static DependencyProperty RotationZProperty { get; }public static DependencyProperty RotationZProperty { get; }Public Static ReadOnly Property RotationZProperty As DependencyProperty// This API is not available in Javascript.
The RotationZ dependency property identifier.
ScaleX ScaleX ScaleX ScaleX
Gets or sets the x-axis scale factor. You can use this property to stretch or shrink an object along this axis.
public : double ScaleX { get; set; }public double ScaleX { get; set; }Public ReadWrite Property ScaleX As double// This API is not available in Javascript.
- Value
- double double double double
The scale factor along the x-axis. The default is 1.
ScaleXProperty ScaleXProperty ScaleXProperty ScaleXProperty
Identifies the ScaleX dependency property.
public : static DependencyProperty ScaleXProperty { get; }public static DependencyProperty ScaleXProperty { get; }Public Static ReadOnly Property ScaleXProperty As DependencyProperty// This API is not available in Javascript.
The ScaleX dependency property identifier.
ScaleY ScaleY ScaleY ScaleY
Gets or sets the y-axis scale factor. You can use this property to stretch or shrink an object along this axis.
public : double ScaleY { get; set; }public double ScaleY { get; set; }Public ReadWrite Property ScaleY As double// This API is not available in Javascript.
- Value
- double double double double
The scale factor along the y-axis. The default is 1.
ScaleYProperty ScaleYProperty ScaleYProperty ScaleYProperty
Identifies the ScaleY dependency property.
public : static DependencyProperty ScaleYProperty { get; }public static DependencyProperty ScaleYProperty { get; }Public Static ReadOnly Property ScaleYProperty As DependencyProperty// This API is not available in Javascript.
The ScaleY dependency property identifier.
ScaleZ ScaleZ ScaleZ ScaleZ
Gets or sets the z-axis scale factor. You can use this property to stretch or shrink an object along this axis.
public : double ScaleZ { get; set; }public double ScaleZ { get; set; }Public ReadWrite Property ScaleZ As double// This API is not available in Javascript.
- Value
- double double double double
The scale factor along the z-axis. The default is 1.
ScaleZProperty ScaleZProperty ScaleZProperty ScaleZProperty
Identifies the ScaleZ dependency property.
public : static DependencyProperty ScaleZProperty { get; }public static DependencyProperty ScaleZProperty { get; }Public Static ReadOnly Property ScaleZProperty As DependencyProperty// This API is not available in Javascript.
The ScaleZ dependency property identifier.
TranslateX TranslateX TranslateX TranslateX
Gets or sets the distance to translate along the x-axis in pixels.
public : double TranslateX { get; set; }public double TranslateX { get; set; }Public ReadWrite Property TranslateX As double// This API is not available in Javascript.
- Value
- double double double double
The distance to translate (move) an object along the x-axis, in pixels. The default value is 0.
TranslateXProperty TranslateXProperty TranslateXProperty TranslateXProperty
Identifies the TranslateX dependency property.
public : static DependencyProperty TranslateXProperty { get; }public static DependencyProperty TranslateXProperty { get; }Public Static ReadOnly Property TranslateXProperty As DependencyProperty// This API is not available in Javascript.
The TranslateX dependency property identifier.
TranslateY TranslateY TranslateY TranslateY
Gets or sets the distance to translate along the y-axis in pixels.
public : double TranslateY { get; set; }public double TranslateY { get; set; }Public ReadWrite Property TranslateY As double// This API is not available in Javascript.
- Value
- double double double double
The distance to translate (move) an object along the y-axis, in pixels. The default value is 0.
TranslateYProperty TranslateYProperty TranslateYProperty TranslateYProperty
Identifies the TranslateY dependency property.
public : static DependencyProperty TranslateYProperty { get; }public static DependencyProperty TranslateYProperty { get; }Public Static ReadOnly Property TranslateYProperty As DependencyProperty// This API is not available in Javascript.
The TranslateY dependency property identifier.
TranslateZ TranslateZ TranslateZ TranslateZ
Gets or sets the distance to translate along the z-axis in pixels.
public : double TranslateZ { get; set; }public double TranslateZ { get; set; }Public ReadWrite Property TranslateZ As double// This API is not available in Javascript.
- Value
- double double double double
The distance to translate (move) an object along the z-axis, in pixels. The default value is 0.
TranslateZProperty TranslateZProperty TranslateZProperty TranslateZProperty
Identifies the TranslateZ dependency property.
public : static DependencyProperty TranslateZProperty { get; }public static DependencyProperty TranslateZProperty { get; }Public Static ReadOnly Property TranslateZProperty As DependencyProperty// This API is not available in Javascript.
The TranslateZ dependency property identifier.