C# 클래스 MapAround.UI.ImageLegend

Represents a legend which appears as a simple image.
상속: LegendBase
파일 보기 프로젝트 열기: gkrsu/maparound.core

공개 메소드들

메소드 설명
DrawLegend ( ) : Bitmap

Generates a legend bitmap.

보호된 메소드들

메소드 설명
CheckCaption ( string caption ) : void

Checks a legend caption.

Implementations should throw an exception if a caption value is impossible.

CheckNewElement ( LegendElement element ) : void

Checks an element.

비공개 메소드들

메소드 설명
checkElementHeight ( LegendElement element ) : bool
checkElementWidth ( LegendElement element ) : bool
drawElement ( Graphics g, LegendElement element, int currentHeight ) : int
getCaptionSize ( ) : SizeF
getLabelStrSize ( string label ) : SizeF

메소드 상세

CheckCaption() 보호된 메소드

Checks a legend caption.

Implementations should throw an exception if a caption value is impossible.

protected CheckCaption ( string caption ) : void
caption string A caption value to check
리턴 void

CheckNewElement() 보호된 메소드

Checks an element.
protected CheckNewElement ( LegendElement element ) : void
element LegendElement An element to check
리턴 void

DrawLegend() 공개 메소드

Generates a legend bitmap.
public DrawLegend ( ) : Bitmap
리턴 System.Drawing.Bitmap