C# 클래스 MapAround.Mapping.DefaultFeatureRenderer

Implements the MapAround.Mapping.IFeatureRenderer interface.
상속: IFeatureRenderer
파일 보기 프로젝트 열기: gkrsu/maparound.core

보호된 프로퍼티들

프로퍼티 타입 설명
_selectedPoints List
_selectedPolygons List
_selectedPolylines List
_titleBuffer List
_titleCount int

공개 메소드들

메소드 설명
DefaultFeatureRenderer ( ) : System

보호된 메소드들

메소드 설명
DrawPoint ( Feature feature, Graphics g, PointStyle style, TitleStyle titleStyle, BoundingRectangle viewBox, bool titleVisible, double scaleFactor ) : void

Draw a point.

DrawPolygon ( Feature feature, Graphics g, PolygonStyle style, TitleStyle titleStyle, BoundingRectangle viewBox, bool titleVisible, double scaleFactor ) : void

Draw a polygon.

DrawPolyline ( Feature feature, Graphics g, PolylineStyle style, TitleStyle titleStyle, BoundingRectangle viewBox, bool titleVisible, double scaleFactor ) : void

Drawing the line.

FlushSelectedFeatures ( Graphics g, BoundingRectangle viewBox, double scaleFactor ) : void

Rendering selected objects.

FlushTitles ( Graphics g, BoundingRectangle viewBox, double scaleFactor ) : void

Drawing object names.

비공개 메소드들

메소드 설명
IFeatureRenderer ( Feature feature, Graphics g, PointStyle style, TitleStyle titleStyle, BoundingRectangle viewBox, bool titleVisible, double scaleFactor ) : void
IFeatureRenderer ( Feature feature, Graphics g, PolygonStyle style, TitleStyle titleStyle, BoundingRectangle viewBox, bool titleVisible, double scaleFactor ) : void
IFeatureRenderer ( Feature feature, Graphics g, PolylineStyle style, TitleStyle titleStyle, BoundingRectangle viewBox, bool titleVisible, double scaleFactor ) : void
IFeatureRenderer ( Graphics g, BoundingRectangle viewBox, double scaleFactor ) : void
addCrossPointToList ( Segment s1, Segment s2, List list ) : void
addTitleBufferElement ( Graphics g, Feature feature, TitleStyle titleStyle, BoundingRectangle viewBox, double scaleFactor ) : void
addTitleBufferElement ( TitleStyle titleStyle, ICoordinate targetPoint, SizeF size, double scaleFactor, Feature feature ) : void
createSelectionTexture ( ) : void
drawLinePathSelectionAndOutline ( Graphics g, bool selected, PointF pathPoints, PolylineStyle style ) : void
drawPolylineSimple ( Graphics g, Feature feature, PolylineStyle style, BoundingRectangle viewBox, double scaleFactor ) : void
drawPolylineWithIntersectCalculation ( Graphics g, Feature feature, PolylineStyle style, BoundingRectangle viewBox, double scaleFactor ) : void
drawPrismPolygon ( Feature feature, Graphics g, BoundingRectangle viewBox, double scaleFactor ) : void
drawTitle ( Graphics g, TitleBufferElement title, double scaleFactor, BoundingRectangle viewBox ) : void
drawVisiblePolylinePart ( Graphics g, List path, Pen pen, BoundingRectangle viewBox, double scaleFactor ) : void
drawVisiblePolylinePartWithStyleDetection ( Graphics g, List path, PolylineStyle style, Pen defaultPen, Pen annexPen, bool selected, BoundingRectangle viewBox, double scaleFactor, double lengthFromBegining ) : void
getAngle ( ICoordinate p1, ICoordinate p2, ICoordinate p3, bool counterClockwise ) : double
getCrossPoint ( Segment s1, Segment s2, ICoordinate &crossPoint ) : bool
getCrossPoints ( ICoordinate vertex1, ICoordinate vertex2, BoundingRectangle viewBox ) : List
getDistantPoint ( IList points, double targetDistance, int &vertexNumber ) : ICoordinate
getFollowingTitle ( Graphics g, LinePath part, double length, string label, TitleStyle titleStyle, BoundingRectangle viewBox, double scaleFactor ) : FollowingTitle
getLeftPoints ( IList points, ICoordinate firstPoint, double targetDistance, int vertexNumber, double halfFontHeight, List rotationDeltas ) : IList
getPathLength ( List path ) : double
getRelativeDashSize ( Pen pen ) : float
getRightPoints ( IList points, ICoordinate firstPoint, double targetDistance, int vertexNumber, double halfFontHeight, List rotationDeltas ) : IList
pointQuadrantNumber ( ICoordinate p ) : int
translateAngleQuadrant ( double angle, int quadrantNumber ) : double

메소드 상세

DefaultFeatureRenderer() 공개 메소드

public DefaultFeatureRenderer ( ) : System
리턴 System

DrawPoint() 보호된 메소드

Draw a point.
protected DrawPoint ( Feature feature, Graphics g, PointStyle style, TitleStyle titleStyle, BoundingRectangle viewBox, bool titleVisible, double scaleFactor ) : void
feature Feature
g System.Drawing.Graphics
style PointStyle
titleStyle TitleStyle
viewBox BoundingRectangle
titleVisible bool
scaleFactor double
리턴 void

DrawPolygon() 보호된 메소드

Draw a polygon.
protected DrawPolygon ( Feature feature, Graphics g, PolygonStyle style, TitleStyle titleStyle, BoundingRectangle viewBox, bool titleVisible, double scaleFactor ) : void
feature Feature
g System.Drawing.Graphics
style PolygonStyle
titleStyle TitleStyle
viewBox BoundingRectangle
titleVisible bool
scaleFactor double
리턴 void

DrawPolyline() 보호된 메소드

Drawing the line.
protected DrawPolyline ( Feature feature, Graphics g, PolylineStyle style, TitleStyle titleStyle, BoundingRectangle viewBox, bool titleVisible, double scaleFactor ) : void
feature Feature
g System.Drawing.Graphics
style PolylineStyle
titleStyle TitleStyle
viewBox BoundingRectangle
titleVisible bool
scaleFactor double
리턴 void

FlushSelectedFeatures() 보호된 메소드

Rendering selected objects.
protected FlushSelectedFeatures ( Graphics g, BoundingRectangle viewBox, double scaleFactor ) : void
g System.Drawing.Graphics
viewBox BoundingRectangle
scaleFactor double
리턴 void

FlushTitles() 보호된 메소드

Drawing object names.
protected FlushTitles ( Graphics g, BoundingRectangle viewBox, double scaleFactor ) : void
g System.Drawing.Graphics
viewBox BoundingRectangle
scaleFactor double
리턴 void

프로퍼티 상세

_selectedPoints 보호되어 있는 프로퍼티

protected List _selectedPoints
리턴 List

_selectedPolygons 보호되어 있는 프로퍼티

protected List _selectedPolygons
리턴 List

_selectedPolylines 보호되어 있는 프로퍼티

protected List _selectedPolylines
리턴 List

_titleBuffer 보호되어 있는 프로퍼티

protected List _titleBuffer
리턴 List

_titleCount 보호되어 있는 프로퍼티

protected int _titleCount
리턴 int