public interface Bitmap extends VisualizationItem<Bitmap>
| Modifier and Type | Method and Description |
|---|---|
static Bitmap |
create(ARGBColor color,
BufferedImage image,
Vector3d normal,
Vector3d up,
Vector3d location,
double width,
double height)
Creates a bitmap visualization.
|
static Bitmap |
create(BufferedImage image,
Vector3d normal,
Vector3d up,
Vector3d location,
double width,
double height)
Creates a bitmap visualization.
|
double |
getHeight()
Returns the height of image.
|
BufferedImage |
getImage()
Returns the image.
|
double |
getWidth()
Returns the width of image.
|
createAngle, createArea, createBoundingBox, createDimension, getColor, withColorstatic Bitmap create(ARGBColor color, BufferedImage image, Vector3d normal, Vector3d up, Vector3d location, double width, double height)
color - color with transparency affecting the displayed imageimage - the image to be displayednormal - a vector indicating where the image faces in 3D spaceup - a vector whose orthogonal-to-normal (orthogonal to the facing direction given by normal) component
indicates the 'up' direction of the image.location - the center of the image in 3D spacewidth - the width of the displayed imageheight - the height of the displayed imagestatic Bitmap create(BufferedImage image, Vector3d normal, Vector3d up, Vector3d location, double width, double height)
image - the image to be displayednormal - a vector indicating where the image faces in 3D spaceup - a vector whose orthogonal-to-normal (orthogonal to the facing direction given by normal) component
indicates the 'up' direction of the image.location - the center of the image in 3D spacewidth - the width of the displayed imageheight - the height of the displayed imagegiven by normal, up, location.
BufferedImage getImage()
double getHeight()
double getWidth()
Copyright © 2020 Solibri, Inc.. All rights reserved.