Enum StrokeSymbolLayer.LineStyle3D

  • All Implemented Interfaces:
    Serializable, Comparable<StrokeSymbolLayer.LineStyle3D>
    Enclosing class:
    StrokeSymbolLayer

    public static enum StrokeSymbolLayer.LineStyle3D
    extends Enum<StrokeSymbolLayer.LineStyle3D>
    The 3D line style describes the way that line symbol layers will render in 3D. The property refers to the rendering style of a 3D stroke layer. In a scene view, changing this property will change the fundamental appearance of the stroke layer. Only the STRIP 3D line style is supported for static rendering mode.
    Since:
    100.5.0
    • Enum Constant Detail

      • TUBE

        public static final StrokeSymbolLayer.LineStyle3D TUBE
        The tube style causes the stroke to appear as a 3D tube. A "tube" here refers to a solid circular cylinder, following the given geometry.
        Since:
        100.5.0
      • STRIP

        public static final StrokeSymbolLayer.LineStyle3D STRIP
        The strip style causes the stroke to appear as a flat strip of surface. A "strip" here refers to a flat 2D surface with more significant width than a line, though it is presented in 3D. Note: For this line style, the cap style will always be StrokeSymbolLayer.CapStyle.SQUARE
        Since:
        100.5.0
    • Method Detail

      • values

        public static StrokeSymbolLayer.LineStyle3D[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (StrokeSymbolLayer.LineStyle3D c : StrokeSymbolLayer.LineStyle3D.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static StrokeSymbolLayer.LineStyle3D valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null