public class TransformCreator extends Object
| Constructor and Description |
|---|
TransformCreator() |
| Modifier and Type | Method and Description |
|---|---|
static AffineTransform |
createDocumentCoordinatesTransform(Box master,
CssContext c,
AffineTransform _parentCtm)
Creates an absolute transform in document coordinates.
|
static AffineTransform |
createPageCoordinatesTranform(RenderingContext c,
Box box,
PageBox page)
Creates a transform that can be applied to a page, either PDF or Java2D.
|
public static AffineTransform createPageCoordinatesTranform(RenderingContext c, Box box, PageBox page)
public static AffineTransform createDocumentCoordinatesTransform(Box master, CssContext c, AffineTransform _parentCtm)
_parentCtm may be null in case the parent layer uses the identity tranform. If it is not null
it will be cloned before use.Copyright © 2018. All rights reserved.