AffineTransform

class AffineTransform(val m0: Double, val m1: Double, val m2: Double, val m3: Double, val m4: Double, val m5: Double)

2D Affine Transformation Matrix in row major order

Companion:
object
class Object
trait Matchable
class Any

Value members

Concrete methods

returns (tx mm this) in terms of transformations returns a transformation which first applies this then applies tx

returns (tx mm this) in terms of transformations returns a transformation which first applies this then applies tx

returns (this mm tx) in terms of transformations returns a transformation which first applies tx then applies this

returns (this mm tx) in terms of transformations returns a transformation which first applies tx then applies this

def rotate(rad: Double, x: Double, y: Double): AffineTransform

returns a transformation which applies this then rotates around (x,y) with rad

returns a transformation which applies this then rotates around (x,y) with rad

def rotate(rad: Double): AffineTransform

returns a transformation which applies this then rotates around (0,0) with rad

returns a transformation which applies this then rotates around (0,0) with rad

def scale(x: Double, y: Double): AffineTransform

Returns a tranformation which applies this then scales

Returns a tranformation which applies this then scales

def scaleThenTranslate(tx: Double, ty: Double, sx: Double, sy: Double): AffineTransform

Returns a transformation which applies this then scales then translates

Returns a transformation which applies this then scales then translates

def transform(stroke: Stroke): Stroke
def transform(x: Double, y: Double): Point
def transformBounds(x: Double, y: Double, w: Double, h: Double, anchor: Option[Point]): Bounds
def translate(x: Double, y: Double): AffineTransform

Returns a tranformation which applies this then translates

Returns a tranformation which applies this then translates

Concrete fields

val m0: Double
val m1: Double
val m2: Double
val m3: Double
val m4: Double
val m5: Double