• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class TranslateTransformCommand

Translates the world transform by the specified offsets.

Inheritance
object
DrawingCommand
TranslateTransformCommand
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: DRIT.Drawing.Vector.Commands
Assembly: DRIT.Drawing.dll
Syntax
public sealed class TranslateTransformCommand : DrawingCommand

Constructors

TranslateTransformCommand(float, float, MatrixOrder)

Initializes a new TranslateTransformCommand.

Declaration
public TranslateTransformCommand(float dx, float dy, MatrixOrder order)
Parameters
Type Name Description
float dx
float dy
MatrixOrder order

Properties

Dx

Gets the horizontal translation.

Declaration
public float Dx { get; }
Property Value
Type Description
float

Dy

Gets the vertical translation.

Declaration
public float Dy { get; }
Property Value
Type Description
float

Order

Gets the multiplication order.

Declaration
public MatrixOrder Order { get; }
Property Value
Type Description
MatrixOrder

Methods

Clone()

Creates a deep copy of this command.

Declaration
public override DrawingCommand Clone()
Returns
Type Description
DrawingCommand

A new DrawingCommand with the same state.

Overrides
DrawingCommand.Clone()
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX