Class TLcdWMSLegendURLParameters

java.lang.Object
com.luciad.wms.server.TLcdWMSLegendURLParameters

public final class TLcdWMSLegendURLParameters extends Object
The online resource, width and height of a LegendURL, as proposed to or returned by an ILcdWMSGetLegendGraphicRequestEncoder.
Since:
2026.0.15
See Also:
  • Constructor Details

    • TLcdWMSLegendURLParameters

      public TLcdWMSLegendURLParameters(TLcdOWSOnlineResource aOnlineResource, int aWidth, int aHeight)
      Creates a new TLcdWMSLegendURLParameters with the given parameters.
      Parameters:
      aOnlineResource - the online resource pointing to the legend image. Must not be null.
      aWidth - the width, in pixels, of the legend image the online resource points to.
      aHeight - the height, in pixels, of the legend image the online resource points to.
  • Method Details

    • getOnlineResource

      public TLcdOWSOnlineResource getOnlineResource()
      Returns the online resource pointing to the legend image (required to be not null).
      Returns:
      the online resource pointing to the legend image (required to be not null).
    • getWidth

      public int getWidth()
      Returns the width, in pixels, of the legend image the online resource points to. This is the width advertised in the width attribute of the LegendURL element.
      Returns:
      the width, in pixels, of the legend image the online resource points to.
    • getHeight

      public int getHeight()
      Returns the height, in pixels, of the legend image the online resource points to. This is the height advertised in the height attribute of the LegendURL element.
      Returns:
      the height, in pixels, of the legend image the online resource points to.