Class CompositeTransform
This class lets you apply multiple different transforms to an object.
Inherited Members
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class CompositeTransform : Transform, IDependencyObject
Fields
| Improve this Doc View SourceCenterXProperty
Identifies the CenterX dependency property.
Declaration
public static readonly DependencyProperty CenterXProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
CenterYProperty
Identifies the CenterY dependency property.
Declaration
public static readonly DependencyProperty CenterYProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
RotationProperty
Identifies the Rotation dependency property.
Declaration
public static readonly DependencyProperty RotationProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ScaleXProperty
Identifies the ScaleX dependency property.
Declaration
public static readonly DependencyProperty ScaleXProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
ScaleYProperty
Identifies the ScaleY dependency property.
Declaration
public static readonly DependencyProperty ScaleYProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SkewXProperty
Identifies the SkewX dependency property.
Declaration
public static readonly DependencyProperty SkewXProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
SkewYProperty
Identifies the SkewY dependency property.
Declaration
public static readonly DependencyProperty SkewYProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TranslateXProperty
Identifies the TranslateX dependency property.
Declaration
public static readonly DependencyProperty TranslateXProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TranslateYProperty
Identifies the TranslateY dependency property.
Declaration
public static readonly DependencyProperty TranslateYProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceCenterX
Gets or sets the x-coordinate of the center point for all transforms specified by the CompositeTransform.
Declaration
public double CenterX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The x-coordinate of the center point for all transforms specified by the CompositeTransform. |
CenterY
Gets or sets the y-coordinate of the center point for all transforms specified by the CompositeTransform.
Declaration
public double CenterY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The y-coordinate of the center point for all transforms specified by the CompositeTransform. |
Rotation
Gets or sets the angle, in degrees, of clockwise rotation.
Declaration
public double Rotation { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The angle, in degrees, of clockwise rotation. The default is 0. |
ScaleX
Gets or sets the x-axis scale factor. You can use this property to stretch or shrink an object horizontally.
Declaration
public double ScaleX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The scale factor along the x-axis. The default is 1. |
ScaleY
Gets or sets the y-axis scale factor. You can use this property to stretch or shrink an object vertically.
Declaration
public double ScaleY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The scale factor along the y-axis. The default is 1. |
SkewX
Gets or sets the x-axis skew angle, which is measured in degrees counterclockwise from the y-axis. A skew transform can be useful for creating the illusion of three-dimensional depth in a two-dimensional object.
Declaration
public double SkewX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The skew angle, which is measured in degrees counterclockwise from the y-axis. The default is 0. |
SkewY
Gets or sets the y-axis skew angle, which is measured in degrees counterclockwise from the x-axis. A skew transform can be useful for creating the illusion of three-dimensional depth in a two-dimensional object.
Declaration
public double SkewY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The skew angle, which is measured in degrees counterclockwise from the x-axis. The default is 0. |
TranslateX
Gets or sets the distance to translate along the x-axis.
Declaration
public double TranslateX { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The distance to translate (move) an object along the x-axis, in pixels. This property is read/write. The default is 0. |
TranslateY
Gets or sets the distance to translate (move) an object along the y-axis.
Declaration
public double TranslateY { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The distance to translate (move) an object along the y-axis, in pixels. The default is 0. |