public class RenderBoxHelper extends Object
| Constructor and Description |
|---|
RenderBoxHelper() |
| Modifier and Type | Method and Description |
|---|---|
double |
perspectiveX(double[] p) |
double |
perspectiveY(double[] p) |
void |
renderBox(Interval sourceInterval,
AffineTransform3D transform,
GeneralPath front,
GeneralPath back) |
void |
renderCanvas(Interval targetInterval,
GeneralPath canvas) |
void |
setDepth(double depth) |
void |
setOrigin(double x,
double y) |
void |
setScale(double scale) |
void |
splitEdge(double[] a,
double[] b,
GeneralPath before,
GeneralPath behind) |
public void setScale(double scale)
public void setDepth(double depth)
public void setOrigin(double x,
double y)
public double perspectiveX(double[] p)
p - point to projectpublic double perspectiveY(double[] p)
p - point to projectpublic void splitEdge(double[] a,
double[] b,
GeneralPath before,
GeneralPath behind)
public void renderBox(Interval sourceInterval, AffineTransform3D transform, GeneralPath front, GeneralPath back)
public void renderCanvas(Interval targetInterval, GeneralPath canvas)
Copyright © 2015–2021 Fiji. All rights reserved.