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.


Constructor Index

 o PointAttributes()
Constructs PointAttributes object with default values.
 o PointAttributes(float, boolean)
Constructs PointAttributes object with specified values.

Method Index

 o getPointAntialiasingEnable()
Retrieves the state of the point antialiasing flag.
 o getPointSize()
Gets the point size for this appearance component object.
 o setPointAntialiasingEnable(boolean)
Enables or disables point antialiasing for this appearance component object.
 o setPointSize(float)
Sets the point size for this appearance component object.

Constructors

 o PointAttributes
 public PointAttributes()
Constructs PointAttributes object with default values.

 o 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

Methods

 o 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
 o 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
 o 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
 o 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