All Packages Class Hierarchy This Package Previous Next Index
Class java.media.j3d.PointAttributes
java.lang.Object
|
+----java.media.j3d.SceneGraphObject
|
+----java.media.j3d.NodeComponent
|
+----java.media.j3d.PointAttributes
- public class PointAttributes
- extends NodeComponent
The PointAttributes object defines all rendering state that can be set
as a component object of a Shape3D node.
-
PointAttributes()
- Constructs PointAttributes object with default values.
-
PointAttributes(float, boolean)
- Constructs PointAttributes object with specified values.
-
getPointAntialiasingEnable()
- Retrieves the state of the point antialiasing flag.
-
getPointSize()
- Gets the point size for this appearance component object.
-
setPointAntialiasingEnable(boolean)
- Enables or disables point antialiasing
for this appearance component object.
-
setPointSize(float)
- Sets the point size for this appearance component object.
PointAttributes
public PointAttributes()
- Constructs PointAttributes object with default values.
PointAttributes
public PointAttributes(float pointSize,
boolean pointAntialiasing)
- Constructs PointAttributes object with specified values.
- Parameters:
- pointSize - the size of points.
- pointAntialiasing - flag to set point antialising ON or OFF
setPointSize
public final void setPointSize(float pointSize)
- Sets the point size for this appearance component object.
- Parameters:
- pointSize - the size, in pixels, of point primitives
- Throws: RestrictedAccessException
- if the method is called
when this object is part of live or compiled scene graph
getPointSize
public final float getPointSize()
- Gets the point size for this appearance component object.
- Returns:
- the size, in pixels, of point primitives
- Throws: RestrictedAccessException
- if the method is called
when this object is part of live or compiled scene graph
setPointAntialiasingEnable
public final void setPointAntialiasingEnable(boolean state)
- Enables or disables point antialiasing
for this appearance component object.
- Parameters:
- state - true or false to enable or disable point antialiasing
- Throws: RestrictedAccessException
- if the method is called
when this object is part of live or compiled scene graph
getPointAntialiasingEnable
public final boolean getPointAntialiasingEnable()
- Retrieves the state of the point antialiasing flag.
- Returns:
- true if point antialiasing is enabled,
false if point antialiasing is disabled
- Throws: RestrictedAccessException
- if the method is called
when this object is part of live or compiled scene graph
All Packages Class Hierarchy This Package Previous Next Index