Packagecom.yworks.yfiles.layout.tree
Classpublic class AbstractRotatableNodePlacer_Matrix
InheritanceAbstractRotatableNodePlacer_Matrix Inheritance YObject Inheritance Object

Instances of this class may be used to configure the com.yworks.yfiles.layout.tree.AbstractRotatableNodePlacer. The possible transformations are:

See also

com.yworks.yfiles.layout.tree.AbstractRotatableNodePlacer
DEFAULT
ROT90
ROT180
ROT270
MIR_HOR
MIR_VERT
MIR_HOR_ROT90
MIR_VERT_ROT90


Public Methods
 MethodDefined By
  
AbstractRotatableNodePlacer_Matrix
 Inherited
equals(o:Object):Boolean
YObject
  
Compares the values of the actual matrix with the values of the given matrix
AbstractRotatableNodePlacer_Matrix
  
getClass():Class
[override]
AbstractRotatableNodePlacer_Matrix
 Inherited
hashCode():int
YObject
  
Multiplies this matrix with another matrix.
AbstractRotatableNodePlacer_Matrix
  
toString():String
Returns a String representation of this matrix.
AbstractRotatableNodePlacer_Matrix
Public Constants
 ConstantDefined By
  AVAILABLE : List
[static]
AbstractRotatableNodePlacer_Matrix
  DEFAULT : AbstractRotatableNodePlacer_Matrix
[static] no transformation
AbstractRotatableNodePlacer_Matrix
  MIR_HOR : AbstractRotatableNodePlacer_Matrix
[static] mirror horizontally
AbstractRotatableNodePlacer_Matrix
  MIR_HOR_ROT90 : AbstractRotatableNodePlacer_Matrix
[static] mirror horizontally and rotate by 90 degrees counter-clockwise
AbstractRotatableNodePlacer_Matrix
  MIR_VERT : AbstractRotatableNodePlacer_Matrix
[static] mirror vertically
AbstractRotatableNodePlacer_Matrix
  MIR_VERT_ROT90 : AbstractRotatableNodePlacer_Matrix
[static] mirror vertically and rotate by 90 degrees counter-clockwise
AbstractRotatableNodePlacer_Matrix
  ROT180 : AbstractRotatableNodePlacer_Matrix
[static] rotation by 180 degrees
AbstractRotatableNodePlacer_Matrix
  ROT270 : AbstractRotatableNodePlacer_Matrix
[static] rotation by 270 degrees counter-clockwise
AbstractRotatableNodePlacer_Matrix
  ROT90 : AbstractRotatableNodePlacer_Matrix
[static] rotation by 90 degrees counter-clockwise
AbstractRotatableNodePlacer_Matrix
Constructor Detail
AbstractRotatableNodePlacer_Matrix()Constructor
public function AbstractRotatableNodePlacer_Matrix(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
equalValues()method
public function equalValues(result:AbstractRotatableNodePlacer_Matrix):Boolean

Compares the values of the actual matrix with the values of the given matrix

Parameters

result:AbstractRotatableNodePlacer_Matrix — the given matrix

Returns
Boolean — true if all values are the same, false otherwise
getClass()method 
override public function getClass():Class

Returns
Class
multiply()method 
public function multiply(other:AbstractRotatableNodePlacer_Matrix):AbstractRotatableNodePlacer_Matrix

Multiplies this matrix with another matrix.

Parameters

other:AbstractRotatableNodePlacer_Matrix — the other matrix

Returns
AbstractRotatableNodePlacer_Matrix — the product of this and the other matrix
toString()method 
public function toString():String

Returns a String representation of this matrix.

Returns
String — a String representing this matrix
Constant Detail
AVAILABLEConstant
public static const AVAILABLE:List

DEFAULTConstant 
public static const DEFAULT:AbstractRotatableNodePlacer_Matrix

no transformation

MIR_HORConstant 
public static const MIR_HOR:AbstractRotatableNodePlacer_Matrix

mirror horizontally

MIR_HOR_ROT90Constant 
public static const MIR_HOR_ROT90:AbstractRotatableNodePlacer_Matrix

mirror horizontally and rotate by 90 degrees counter-clockwise

MIR_VERTConstant 
public static const MIR_VERT:AbstractRotatableNodePlacer_Matrix

mirror vertically

MIR_VERT_ROT90Constant 
public static const MIR_VERT_ROT90:AbstractRotatableNodePlacer_Matrix

mirror vertically and rotate by 90 degrees counter-clockwise

ROT180Constant 
public static const ROT180:AbstractRotatableNodePlacer_Matrix

rotation by 180 degrees

ROT270Constant 
public static const ROT270:AbstractRotatableNodePlacer_Matrix

rotation by 270 degrees counter-clockwise

ROT90Constant 
public static const ROT90:AbstractRotatableNodePlacer_Matrix

rotation by 90 degrees counter-clockwise