Class Transform
Defines functionality that enables transformations in a two-dimensional plane.
Inheritance
System.Object
Transform
Inherited Members
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 abstract class Transform : GeneralTransform
Properties
| Improve this Doc View SourceInverse
Gets the inverse of this transform, if it exists.
Declaration
public override GeneralTransform Inverse { get; }
Property Value
Type | Description |
---|---|
GeneralTransform | The inverse of this transform, if it exists; otherwise, null. |
Overrides
Methods
| Improve this Doc View SourceTransformBounds(Rect)
Declaration
public override Rect TransformBounds(Rect rect)
Parameters
Type | Name | Description |
---|---|---|
Rect | rect |
Returns
Type | Description |
---|---|
Rect |
Overrides
| Improve this Doc View SourceTryTransform(Point, out Point)
Attempts to transform the specified point and returns a value that indicates whether the transformation was successful.
Declaration
public override bool TryTransform(Point inPoint, out Point outPoint)
Parameters
Type | Name | Description |
---|---|---|
Point | inPoint | The point to transform. |
Point | outPoint | The result of transforming inPoint. |
Returns
Type | Description |
---|---|
System.Boolean | true if inPoint was transformed; otherwise, false. |