protected AffineTransform (Transform other) { this(other.scaleX(), other.scaleY(), other.rotation(), other.tx(), other.ty()); } }
protected AffineTransform (Transform other) { this(other.scaleX(), other.scaleY(), other.rotation(), other.tx(), other.ty()); } }
private HtmlInternalTransform(Transform other) { this(); float scaleX = other.scaleX(), scaleY = other.scaleY(), angle = other.rotation(); float sina = FloatMath.sin(angle), cosa = FloatMath.cos(angle); setTransform(cosa * scaleX, sina * scaleY, -sina * scaleX, cosa * scaleY, other.tx(), other.ty()); }