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 Link icon

    • finalize Link icon

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

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

      @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 Link icon

      @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 Link icon

      @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 Link icon

      @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 Link icon

      @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.