Public Member Functions | |
Appearance () | |
Appearance (final Appearance toCopy) | |
Color | getColorFill () |
Color | getColorLine () |
String | getImageFileName () |
PImage | getImageReference () |
int | getStrokeWeight () |
void | setColorFill (Color colorFill) |
void | setColorLine (Color colorLine) |
void | setImageFileName (String imageFileName) |
void | setImageReference (PImage imageReference) |
void | setStrokeWeight (int strokeWeight) |
Private Attributes | |
Color | colorFill |
Color | colorLine |
String | imageFileName |
PImage | imageReference |
int | strokeWeight |
Static Private Attributes | |
static final long | serialVersionUID = 3878380145216484383L |
Appearance of a triangle or a line. May contain texture or simply a color.
Definition at line 22 of file Appearance.java.
edu.tum.cs.vis.model.util.Appearance.Appearance | ( | ) | [inline] |
Empty constructor for appearance objects
Definition at line 56 of file Appearance.java.
edu.tum.cs.vis.model.util.Appearance.Appearance | ( | final Appearance | toCopy | ) | [inline] |
Copy constructor for the Appearance objects. Performs a deep copy of all the data fields from the passed object to the one called.
toCopy | object to copy to newly created instance |
Definition at line 71 of file Appearance.java.
Color edu.tum.cs.vis.model.util.Appearance.getColorFill | ( | ) | [inline] |
Definition at line 92 of file Appearance.java.
Color edu.tum.cs.vis.model.util.Appearance.getColorLine | ( | ) | [inline] |
Definition at line 99 of file Appearance.java.
String edu.tum.cs.vis.model.util.Appearance.getImageFileName | ( | ) | [inline] |
Definition at line 106 of file Appearance.java.
PImage edu.tum.cs.vis.model.util.Appearance.getImageReference | ( | ) | [inline] |
Definition at line 113 of file Appearance.java.
int edu.tum.cs.vis.model.util.Appearance.getStrokeWeight | ( | ) | [inline] |
Definition at line 120 of file Appearance.java.
void edu.tum.cs.vis.model.util.Appearance.setColorFill | ( | Color | colorFill | ) | [inline] |
colorFill | the colorFill to set |
Definition at line 128 of file Appearance.java.
void edu.tum.cs.vis.model.util.Appearance.setColorLine | ( | Color | colorLine | ) | [inline] |
colorLine | the colorLine to set |
Definition at line 136 of file Appearance.java.
void edu.tum.cs.vis.model.util.Appearance.setImageFileName | ( | String | imageFileName | ) | [inline] |
imageFileName | the imageFileName to set |
Definition at line 144 of file Appearance.java.
void edu.tum.cs.vis.model.util.Appearance.setImageReference | ( | PImage | imageReference | ) | [inline] |
imageReference | the imageReference to set |
Definition at line 152 of file Appearance.java.
void edu.tum.cs.vis.model.util.Appearance.setStrokeWeight | ( | int | strokeWeight | ) | [inline] |
strokeWeight | the strokeWeight to set |
Definition at line 160 of file Appearance.java.
Color edu.tum.cs.vis.model.util.Appearance.colorFill [private] |
the color of the Triangle if the Triangle has no texture Set to null if no fill needed
Definition at line 41 of file Appearance.java.
Color edu.tum.cs.vis.model.util.Appearance.colorLine [private] |
the color stroke for Triangle or Line Set to null if no stroke needed
Definition at line 46 of file Appearance.java.
String edu.tum.cs.vis.model.util.Appearance.imageFileName [private] |
the Filename of the texture-Image
Definition at line 31 of file Appearance.java.
PImage edu.tum.cs.vis.model.util.Appearance.imageReference [private] |
an Object reference of a loaded image. Default is null.
Definition at line 36 of file Appearance.java.
final long edu.tum.cs.vis.model.util.Appearance.serialVersionUID = 3878380145216484383L [static, private] |
auto generated
Definition at line 26 of file Appearance.java.
int edu.tum.cs.vis.model.util.Appearance.strokeWeight [private] |
Thickness of the stroke
Definition at line 51 of file Appearance.java.