Show / Hide Table of Contents

Class CompositeTransform

This class lets you apply multiple different transforms to an object.

Inheritance
System.Object
DependencyObject
GeneralTransform
Transform
CompositeTransform
Inherited Members
Transform.TryTransform(Point, Point)
Transform.TransformBounds(Rect)
Transform.Inverse
GeneralTransform.TransformPoint(Point)
GeneralTransform.Transform(Point)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.SetCurrentValue(DependencyProperty, Object)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.SetValue(DependencyPropertyKey, Object)
DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.Dispatcher
DependencyObject.INTERNAL_OnAttachedToVisualTree()
DependencyObject.INTERNAL_OnDetachedFromVisualTree()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.ClearValue(DependencyPropertyKey)
DependencyObject.CheckAccess()
DependencyObject.GetAnimationBaseValue(DependencyProperty)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Media
Assembly: OpenSilver.dll
Syntax
public sealed class CompositeTransform : Transform, IDependencyObject

Fields

| Improve this Doc View Source

CenterXProperty

Identifies the CenterX dependency property.

Declaration
public static readonly DependencyProperty CenterXProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

CenterYProperty

Identifies the CenterY dependency property.

Declaration
public static readonly DependencyProperty CenterYProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

RotationProperty

Identifies the Rotation dependency property.

Declaration
public static readonly DependencyProperty RotationProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ScaleXProperty

Identifies the ScaleX dependency property.

Declaration
public static readonly DependencyProperty ScaleXProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

ScaleYProperty

Identifies the ScaleY dependency property.

Declaration
public static readonly DependencyProperty ScaleYProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SkewXProperty

Identifies the SkewX dependency property.

Declaration
public static readonly DependencyProperty SkewXProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

SkewYProperty

Identifies the SkewY dependency property.

Declaration
public static readonly DependencyProperty SkewYProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

TranslateXProperty

Identifies the TranslateX dependency property.

Declaration
public static readonly DependencyProperty TranslateXProperty
Field Value
Type Description
DependencyProperty
| Improve this Doc View Source

TranslateYProperty

Identifies the TranslateY dependency property.

Declaration
public static readonly DependencyProperty TranslateYProperty
Field Value
Type Description
DependencyProperty

Properties

| Improve this Doc View Source

CenterX

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

| Improve this Doc View Source

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.

Extension Methods

DependencyObjectHelper.GetSelfAndAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestors(DependencyObject)
VisualTreeExtensions.GetVisualAncestorsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualChildren(DependencyObject)
VisualTreeExtensions.GetVisualChildrenAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualDescendants(DependencyObject)
VisualTreeExtensions.GetVisualDescendantsAndSelf(DependencyObject)
VisualTreeExtensions.GetVisualSiblings(DependencyObject)
VisualTreeExtensions.GetVisualSiblingsAndSelf(DependencyObject)
  • Improve this Doc
  • View Source