OELegendLayout
class OELegendLayout
This class represents OELegendLayout which is a
layout manager that allows to create interactive legends in
SVG image format.
click on the "Legend" label
Example of legend layout
See also
OELegendLayoutOptions class
OEDrawLegendLayoutfunctionOELegendLayoutStylenamespaceOELegendColorStylenamespaceOELegendInteractiveStylenamespace
Constructors
OELegendLayout(image: OEImageBase, buttontext: str,
opts: OELegendLayoutOptions) -> OELegendLayout
Creates an OELegendLayout object with the specified options.
- parent
The OEImageBase object on which the OELegendLayout object is placed.
- text
The text of the button of the legend.
- opts
The OELegendLayoutOptions object that defines the properties and style of the legend layout.
See also
OELegendLayout.GetOptionsmethod
GetLegendArea
GetLegendArea() -> OEImage
Provides access to the legend area of the OELegendLayout object.
See also
OEImage class
GetOptions
GetOptions() -> OELegendLayoutOptions
Returns the options used to initialized the OELegendLayout object.
See also
OELegendLayoutOptions class