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()
Assembly: Aurigma.DesignAtoms.Model.dll
Constructors
Declaration
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
Declaration
public double Angle { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Declaration
public bool HasScale { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public bool HasTranslate { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public bool IsEmpty { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Declaration
public double ScaleX { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Declaration
public double ScaleY { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Declaration
public double TranslateX { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Declaration
public double TranslateY { get; set; }
Property Value
| Type |
Description |
| System.Double |
|
Methods
Declaration
public static bool AreEqualValues(Transform transform1, Transform transform2)
Parameters
Returns
| Type |
Description |
| System.Boolean |
|
Declaration
public void Clear(bool keepAngle = false)
Parameters
| Type |
Name |
Description |
| System.Boolean |
keepAngle |
|
Declaration
Returns
Declaration
public void Copy(Transform transform)
Parameters
Declaration
public Transform GetInverted()
Returns
Declaration
public void Rotate(double angle)
Parameters
| Type |
Name |
Description |
| System.Double |
angle |
|
Declaration
public void Scale(double dx, double dy)
Parameters
| Type |
Name |
Description |
| System.Double |
dx |
|
| System.Double |
dy |
|
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
Overrides
System.Object.ToString()
Declaration
public void Translate(double x, double y)
Parameters
| Type |
Name |
Description |
| System.Double |
x |
|
| System.Double |
y |
|
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
Declaration
public event EventHandler TransformChanged
Event Type
| Type |
Description |
| System.EventHandler |
|