public class ReplacedElementScaleHelper extends Object
| Constructor and Description |
|---|
ReplacedElementScaleHelper() |
| Modifier and Type | Method and Description |
|---|---|
static AffineTransform |
createScaleTransform(double dotsPerPixel,
Rectangle contentBounds,
float width,
float height)
Creates a scale
AffineTransform to scale a given replaced element to the desired size. |
static AffineTransform |
inverseOrNull(AffineTransform in) |
public static AffineTransform createScaleTransform(double dotsPerPixel, Rectangle contentBounds, float width, float height)
AffineTransform to scale a given replaced element to the desired size.dotsPerPixel - contentBounds - the desired sizewidth - the intrinsic widthheight - the intrinsic heightpublic static AffineTransform inverseOrNull(AffineTransform in)
Copyright © 2004–2025. All rights reserved.