Package com.luciad.wms.server
Class TLcdWMSLegendURLParameters
java.lang.Object
com.luciad.wms.server.TLcdWMSLegendURLParameters
The online resource, width and height of a
LegendURL, as proposed to or returned by an
ILcdWMSGetLegendGraphicRequestEncoder.- Since:
- 2026.0.15
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTLcdWMSLegendURLParameters(TLcdOWSOnlineResource aOnlineResource, int aWidth, int aHeight) Creates a newTLcdWMSLegendURLParameterswith the given parameters. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the height, in pixels, of the legend image the online resource points to.Returns the online resource pointing to the legend image (required to be notnull).intgetWidth()Returns the width, in pixels, of the legend image the online resource points to.
-
Constructor Details
-
TLcdWMSLegendURLParameters
Creates a newTLcdWMSLegendURLParameterswith the given parameters.- Parameters:
aOnlineResource- the online resource pointing to the legend image. Must not benull.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
Returns the online resource pointing to the legend image (required to be notnull).- 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 thewidthattribute of theLegendURLelement.- 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 theheightattribute of theLegendURLelement.- Returns:
- the height, in pixels, of the legend image the online resource points to.
-