-
Methods in com.solibri.smc.api.visualization that return ARGBColor
Modifier and Type |
Method |
Description |
static ARGBColor |
ARGBColor.create(float r,
float g,
float b,
float a) |
Creates an ARGBColor with the specified red, green, blue, and alpha values in the range (0.0 - 1.0).
|
static ARGBColor |
ARGBColor.create(int r,
int g,
int b,
int a) |
Creates an ARGBColor with the specified red, green, blue, and alpha values in the range (0 - 255).
|
static ARGBColor |
ARGBColor.create(Color color) |
Creates an ARGBColor from the given Color.
|
ARGBColor |
VisualizationItem.getColor() |
Returns the color of the visualization item.
|
Methods in com.solibri.smc.api.visualization with parameters of type ARGBColor
Modifier and Type |
Method |
Description |
void |
Visualization.addComponentsWithColor(Collection<? extends Component> components,
ARGBColor color) |
Adds a collection of components with color to the visualization.
|
void |
Visualization.addComponentWithColor(Component component,
ARGBColor color) |
Adds a component with a color to this visualization.
|
static Bitmap |
Bitmap.create(ARGBColor color,
BufferedImage image,
Vector3d normal,
Vector3d up,
Vector3d location,
double width,
double height) |
Creates a bitmap visualization.
|
static Lines |
Lines.create(ARGBColor color,
Collection<Segment3d> segments,
Lines.LinePattern linePattern,
float lineThickness) |
Creates visualization of a set of segments.
|
static Lines |
Lines.create(ARGBColor color,
List<Vector3d> sequenceOfPoints,
Lines.LinePattern linePattern,
float lineThickness) |
Creates visualization of segments connecting the given sequence of points.
|
static Mesh |
Mesh.create(ARGBColor color,
Collection<Triangle3d> triangles) |
Creates a mesh visualization with the given triangles and color.
|
static Points |
Points.create(ARGBColor color,
Collection<Vector3d> points,
float pointSize) |
Creates visualization of points.
|
static Text |
Text.create(ARGBColor color,
Vector3d normal,
Vector3d up,
Vector3d location,
double horizontalScaling,
double verticalScaling,
String text,
float size) |
Creates a text visualization without any affine transformation (identity transformation).
|
T |
VisualizationItem.withColor(ARGBColor color) |
Returns a copy of this visualization item with the specified color.
|