Back to Website
Show / Hide Table of Contents

Class Transform

Inheritance
System.Object
Transform
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Aurigma.DesignAtoms.Model.Math
Assembly: Aurigma.DesignAtoms.Model.dll
Syntax
public class Transform

Constructors

Transform()

Declaration
public Transform()

Transform(Double, Double, Double, Double, Double)

Declaration
public Transform(double scaleX, double scaleY, double translateX, double translateY, double angle)
Parameters
Type Name Description
System.Double scaleX
System.Double scaleY
System.Double translateX
System.Double translateY
System.Double angle

Properties

Angle

Declaration
public double Angle { get; set; }
Property Value
Type Description
System.Double

HasScale

Declaration
public bool HasScale { get; }
Property Value
Type Description
System.Boolean

HasTranslate

Declaration
public bool HasTranslate { get; }
Property Value
Type Description
System.Boolean

IsEmpty

Declaration
public bool IsEmpty { get; }
Property Value
Type Description
System.Boolean

ScaleX

Declaration
public double ScaleX { get; set; }
Property Value
Type Description
System.Double

ScaleY

Declaration
public double ScaleY { get; set; }
Property Value
Type Description
System.Double

TranslateX

Declaration
public double TranslateX { get; set; }
Property Value
Type Description
System.Double

TranslateY

Declaration
public double TranslateY { get; set; }
Property Value
Type Description
System.Double

Methods

AreEqualValues(Transform, Transform)

Declaration
public static bool AreEqualValues(Transform transform1, Transform transform2)
Parameters
Type Name Description
Transform transform1
Transform transform2
Returns
Type Description
System.Boolean

Clear(Boolean)

Declaration
public void Clear(bool keepAngle = false)
Parameters
Type Name Description
System.Boolean keepAngle

Clone()

Declaration
public Transform Clone()
Returns
Type Description
Transform

Copy(Transform)

Declaration
public void Copy(Transform transform)
Parameters
Type Name Description
Transform transform

GetInverted()

Declaration
public Transform GetInverted()
Returns
Type Description
Transform

Rotate(Double)

Declaration
public void Rotate(double angle)
Parameters
Type Name Description
System.Double angle

Scale(Double, Double)

Declaration
public void Scale(double dx, double dy)
Parameters
Type Name Description
System.Double dx
System.Double dy

ToString()

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Translate(Double, Double)

Declaration
public void Translate(double x, double y)
Parameters
Type Name Description
System.Double x
System.Double y

Update(Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>, Nullable<Double>)

Declaration
public void Update(double? scaleX = null, double? scaleY = null, double? translateX = null, double? translateY = null, double? angle = null)
Parameters
Type Name Description
System.Nullable<System.Double> scaleX
System.Nullable<System.Double> scaleY
System.Nullable<System.Double> translateX
System.Nullable<System.Double> translateY
System.Nullable<System.Double> angle

Events

TransformChanged

Declaration
public event EventHandler TransformChanged
Event Type
Type Description
System.EventHandler
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback