Class LegendPanel
public class LegendPanel : PanelBase, IPanel
- Inheritance
-
LegendPanel
- Implements
- Inherited Members
- Extension Methods
Constructors
LegendPanel(Legend)
public LegendPanel(Legend legend)
Parameters
legend
Legend
Properties
Alignment
public Alignment Alignment { get; set; }
Property Value
Legend
public Legend Legend { get; }
Property Value
Padding
public PixelPadding Padding { get; set; }
Property Value
Methods
Measure()
Return the size (in pixels) of the panel in the dimension perpendicular to the edge it lays on
public override float Measure()
Returns
Render(RenderPack, float, float)
Draw this panel on a canvas
public override void Render(RenderPack rp, float size, float offset)
Parameters
rp
RenderPacksize
floatsize of this panel (pixel units)
offset
floatdistance from the edge of this panel to the edge of the data area