< prev index next >

modules/javafx.graphics/src/main/java/javafx/scene/shape/Shape3D.java

Print this page




  25 
  26 package javafx.scene.shape;
  27 
  28 import com.sun.javafx.geom.BaseBounds;
  29 import com.sun.javafx.geom.BoxBounds;
  30 import com.sun.javafx.geom.transform.BaseTransform;
  31 import com.sun.javafx.scene.DirtyBits;
  32 import com.sun.javafx.scene.NodeHelper;
  33 import com.sun.javafx.scene.paint.MaterialHelper;
  34 import com.sun.javafx.scene.shape.Shape3DHelper;
  35 import com.sun.javafx.sg.prism.NGShape3D;
  36 import javafx.application.ConditionalFeature;
  37 import javafx.application.Platform;
  38 import javafx.beans.property.ObjectProperty;
  39 import javafx.beans.property.SimpleObjectProperty;
  40 import javafx.beans.value.ChangeListener;
  41 import javafx.beans.value.WeakChangeListener;
  42 import javafx.scene.Node;
  43 import javafx.scene.paint.Material;
  44 import javafx.scene.paint.PhongMaterial;
  45 import sun.util.logging.PlatformLogger;
  46 
  47 
  48 /**
  49  * The {@code Shape3D} base class provides definitions of common properties for
  50  * objects that represent some form of 3D geometric shape.  These properties
  51  * include:
  52  * <ul>
  53  * <li>The {@link Material} to be applied to the fillable interior of the
  54  * shape or the outline of the shape (see {@link #setMaterial}).
  55  * <li>The draw model properties that defines how to render its geometry (see {@link #setDrawMode}).
  56  * <li>The face culling properties that defines which face to cull (see {@link #setCullFace}).
  57  * </ul>
  58  *
  59  * Note that this is a conditional feature. See
  60  * {@link javafx.application.ConditionalFeature#SCENE3D ConditionalFeature.SCENE3D}
  61  * for more information.
  62  *
  63  * <p>
  64  * An application should not extend the Shape3D class directly. Doing so may lead to
  65  * an UnsupportedOperationException being thrown.




  25 
  26 package javafx.scene.shape;
  27 
  28 import com.sun.javafx.geom.BaseBounds;
  29 import com.sun.javafx.geom.BoxBounds;
  30 import com.sun.javafx.geom.transform.BaseTransform;
  31 import com.sun.javafx.scene.DirtyBits;
  32 import com.sun.javafx.scene.NodeHelper;
  33 import com.sun.javafx.scene.paint.MaterialHelper;
  34 import com.sun.javafx.scene.shape.Shape3DHelper;
  35 import com.sun.javafx.sg.prism.NGShape3D;
  36 import javafx.application.ConditionalFeature;
  37 import javafx.application.Platform;
  38 import javafx.beans.property.ObjectProperty;
  39 import javafx.beans.property.SimpleObjectProperty;
  40 import javafx.beans.value.ChangeListener;
  41 import javafx.beans.value.WeakChangeListener;
  42 import javafx.scene.Node;
  43 import javafx.scene.paint.Material;
  44 import javafx.scene.paint.PhongMaterial;
  45 import com.sun.javafx.logging.PlatformLogger;
  46 
  47 
  48 /**
  49  * The {@code Shape3D} base class provides definitions of common properties for
  50  * objects that represent some form of 3D geometric shape.  These properties
  51  * include:
  52  * <ul>
  53  * <li>The {@link Material} to be applied to the fillable interior of the
  54  * shape or the outline of the shape (see {@link #setMaterial}).
  55  * <li>The draw model properties that defines how to render its geometry (see {@link #setDrawMode}).
  56  * <li>The face culling properties that defines which face to cull (see {@link #setCullFace}).
  57  * </ul>
  58  *
  59  * Note that this is a conditional feature. See
  60  * {@link javafx.application.ConditionalFeature#SCENE3D ConditionalFeature.SCENE3D}
  61  * for more information.
  62  *
  63  * <p>
  64  * An application should not extend the Shape3D class directly. Doing so may lead to
  65  * an UnsupportedOperationException being thrown.


< prev index next >