Class LegendPanel
public class LegendPanel : PanelBase, IPanel
- Inheritance
-
LegendPanel
- Implements
- Inherited Members
- Extension Methods
Constructors
LegendPanel(Legend)
public LegendPanel(Legend legend)
Parameters
legendLegend
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(Paint)
Return the size (in pixels) of the panel in the dimension perpendicular to the edge it lays on
public override float Measure(Paint paint)
Parameters
paintPaint
Returns
Render(RenderPack, float, float)
Draw this panel on a canvas
public override void Render(RenderPack rp, float size, float offset)
Parameters
rpRenderPacksizefloatsize of this panel (pixel units)
offsetfloatdistance from the edge of this panel to the edge of the data area