Class LegendItem
- Namespace
- ThinkGeo.Core
- Assembly
- ThinkGeo.Core.dll
- Inheritance
-
LegendItem
- Inherited Members
-
Constructors
LegendItem()
LegendItem(int, int, float, float, Style, TextStyle)
public LegendItem(int width, int height, float imageWidth, float imageHeight, Style imageStyle, TextStyle textStyle)
Parameters
width
int
height
int
imageWidth
float
imageHeight
float
imageStyle
Style
textStyle
TextStyle
Properties
BackgroundMask
public AreaStyle BackgroundMask { get; set; }
Property Value
- AreaStyle
BottomPadding
public float BottomPadding { get; set; }
Property Value
- float
Height
public float Height { get; set; }
Property Value
- float
ImageBottomPadding
public float ImageBottomPadding { get; set; }
Property Value
- float
ImageHeight
public float ImageHeight { get; set; }
Property Value
- float
ImageJustificationMode
public LegendImageJustificationMode ImageJustificationMode { get; set; }
Property Value
- LegendImageJustificationMode
ImageLeftPadding
public float ImageLeftPadding { get; set; }
Property Value
- float
ImageMask
public AreaStyle ImageMask { get; set; }
Property Value
- AreaStyle
ImageRightPadding
public float ImageRightPadding { get; set; }
Property Value
- float
ImageStyle
public Style ImageStyle { get; set; }
Property Value
- Style
ImageTopPadding
public float ImageTopPadding { get; set; }
Property Value
- float
ImageWidth
public float ImageWidth { get; set; }
Property Value
- float
LeftPadding
public float LeftPadding { get; set; }
Property Value
- float
Ratio
public float Ratio { get; set; }
Property Value
- float
RightPadding
public float RightPadding { get; set; }
Property Value
- float
TextBottomPadding
public float TextBottomPadding { get; set; }
Property Value
- float
TextLeftPadding
public float TextLeftPadding { get; set; }
Property Value
- float
TextMask
public AreaStyle TextMask { get; set; }
Property Value
- AreaStyle
TextRightPadding
public float TextRightPadding { get; set; }
Property Value
- float
TextStyle
public TextStyle TextStyle { get; set; }
Property Value
- TextStyle
TextTopPadding
public float TextTopPadding { get; set; }
Property Value
- float
TopPadding
public float TopPadding { get; set; }
Property Value
- float
Width
public float Width { get; set; }
Property Value
- float
Methods
Draw(GeoCanvas, Collection<SimpleCandidate>, LegendDrawingParameters)
public void Draw(GeoCanvas adornmentGeoCanvas, Collection<SimpleCandidate> labelsInAllLayers, LegendDrawingParameters legendDrawingParameters)
Parameters
adornmentGeoCanvas
GeoCanvas
labelsInAllLayers
Collection<SimpleCandidate>
legendDrawingParameters
LegendDrawingParameters
DrawCore(GeoCanvas, Collection<SimpleCandidate>, LegendDrawingParameters)
protected virtual void DrawCore(GeoCanvas adornmentGeoCanvas, Collection<SimpleCandidate> labelsInAllLayers, LegendDrawingParameters legendDrawingParameters)
Parameters
adornmentGeoCanvas
GeoCanvas
labelsInAllLayers
Collection<SimpleCandidate>
legendDrawingParameters
LegendDrawingParameters
UpdateSizeByTextLength(GeoCanvas, double)
public void UpdateSizeByTextLength(GeoCanvas canvas, double zoomRatio)
Parameters
canvas
GeoCanvas
zoomRatio
double