Package | Description |
---|---|
com.eteks.sweethome3d.j3d |
Contains various tool 3D classes and 3D home objects useful in
Swing package.
|
com.eteks.sweethome3d.model |
Describes model classes of Sweet Home 3D.
|
com.eteks.sweethome3d.swing |
Implements views created by Sweet Home 3D controllers
with Swing components.
|
com.eteks.sweethome3d.viewcontroller |
Describes controller classes and view interfaces of Sweet Home 3D.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.Stroke |
ShapeTools.getStroke(float thickness,
Polyline.CapStyle capStyle,
Polyline.JoinStyle joinStyle,
float[] dashPattern,
float dashOffset)
Returns the line stroke matching the given line styles.
|
Modifier and Type | Method and Description |
---|---|
Polyline.CapStyle |
Polyline.getCapStyle()
Returns the cap style of this polyline.
|
static Polyline.CapStyle |
Polyline.CapStyle.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Polyline.CapStyle[] |
Polyline.CapStyle.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Polyline.setCapStyle(Polyline.CapStyle capStyle)
Sets the cap style of this polyline.
|
Constructor and Description |
---|
Polyline(float[][] points,
float thickness,
Polyline.CapStyle capStyle,
Polyline.JoinStyle joinStyle,
Polyline.DashStyle dashStyle,
float dashOffset,
Polyline.ArrowStyle startArrowStyle,
Polyline.ArrowStyle endArrowStyle,
boolean closedPath,
int color)
Creates a polyline from the given coordinates.
|
Polyline(float[][] points,
float thickness,
Polyline.CapStyle capStyle,
Polyline.JoinStyle joinStyle,
Polyline.DashStyle dashStyle,
Polyline.ArrowStyle startArrowStyle,
Polyline.ArrowStyle endArrowStyle,
boolean closedPath,
int color)
Creates a polyline from the given coordinates.
|
Polyline(java.lang.String id,
float[][] points,
float thickness,
Polyline.CapStyle capStyle,
Polyline.JoinStyle joinStyle,
Polyline.DashStyle dashStyle,
float dashOffset,
Polyline.ArrowStyle startArrowStyle,
Polyline.ArrowStyle endArrowStyle,
boolean closedPath,
int color)
Creates a polyline from the given coordinates.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.Stroke |
SwingTools.getStroke(float thickness,
Polyline.CapStyle capStyle,
Polyline.JoinStyle joinStyle,
Polyline.DashStyle dashStyle)
Returns the line stroke matching the given line styles.
|
Modifier and Type | Method and Description |
---|---|
Polyline.CapStyle |
PolylineController.getCapStyle()
Returns the edited capStyle.
|
Modifier and Type | Method and Description |
---|---|
void |
PolylineController.setCapStyle(Polyline.CapStyle capStyle)
Sets the edited capStyle.
|
© Copyright 2024 Space Mushrooms
Distributed under GNU General Public License