C# Класс MapAround.Mapping.DefaultFeatureRenderer

Implements the MapAround.Mapping.IFeatureRenderer interface.
Наследование: IFeatureRenderer
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
_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