C# Class Mapsui.Providers.StackedLabelProvider

Inheritance: IProvider
Mostrar archivo Open project: pauldendulk/Mapsui

Public Methods

Method Description
GetExtents ( ) : BoundingBox
GetFeaturesInView ( BoundingBox box, double resolution ) : IEnumerable
StackedLabelProvider ( IProvider provider, LabelStyle labelStyle, Pen rectangleLine = null, Brush rectangleFill = null ) : System.Collections.Generic

Private Methods

Method Description
CalculateOffsetY ( double offsetY, int textHeight ) : double
CalculatePosition ( Cluster cluster ) : Point
ClusterFeatures ( ICollection clusters, IEnumerable features, double minDistance, IStyle layerStyle, double resolution ) : void
CreateBoxFeature ( double resolution, Cluster cluster, Pen line, Brush fill ) : Feature
CreateLabelFeature ( Point position, LabelStyle labelStyle, double offsetY, string text ) : Feature
GetFeaturesInView ( double resolution, LabelStyle labelStyle, IEnumerable features, Pen line, Brush fill ) : List
GrowBox ( BoundingBox box, double resolution ) : BoundingBox
ToPolygon ( BoundingBox box ) : Polygon

Method Details

GetExtents() public method

public GetExtents ( ) : BoundingBox
return BoundingBox

GetFeaturesInView() public method

public GetFeaturesInView ( BoundingBox box, double resolution ) : IEnumerable
box BoundingBox
resolution double
return IEnumerable

StackedLabelProvider() public method

public StackedLabelProvider ( IProvider provider, LabelStyle labelStyle, Pen rectangleLine = null, Brush rectangleFill = null ) : System.Collections.Generic
provider IProvider
labelStyle Mapsui.Styles.LabelStyle
rectangleLine Mapsui.Styles.Pen
rectangleFill Mapsui.Styles.Brush
return System.Collections.Generic