Class FeatureCanvas

java.lang.Object
com.luciad.layers.features.FeatureCanvas
All Implemented Interfaces:
AutoCloseable

public final class FeatureCanvas extends Object implements AutoCloseable
Canvas to provide the commands to draw a geometry, icon, 3D icon, text or a label.
  • Method Details

    • finalize

      protected void finalize()
      Overrides:
      finalize in class Object
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • drawGeometry

      @NotNull public FeatureCanvas.GeometryDrawCommand drawGeometry()
      Returns a command to draw a geometry.

      The draw options can be configured on the object that is returned by this method.

      Returns:
      a command to draw a geometry.
    • drawIcon

      @NotNull public FeatureCanvas.IconDrawCommand drawIcon()
      Returns a command to draw an icon.

      The draw options can be configured on the object that is returned by this method.

      Returns:
      a command to draw an icon.
    • drawIcon3D

      @NotNull public FeatureCanvas.Icon3DDrawCommand drawIcon3D()
      Returns a command to draw a 3D icon.

      The draw options can be configured on the object that is returned by this method.

      Returns:
      a command to draw a 3D icon.
      Since:
      2023.1
    • drawText

      @NotNull public FeatureCanvas.TextDrawCommand drawText()
      Returns a command to draw text.

      The draw options can be configured on the object that is returned by this method.

      Returns:
      a command to draw text.
    • drawLabel

      @NotNull public FeatureCanvas.LabelDrawCommand drawLabel()
      Returns a command to draw a label.

      The draw options can be configured on the object that is returned by this method.

      Returns:
      a command to draw a label.