C# Class XamarinRendering.LabelRenderer

ファイルを表示 Open project: pauldendulk/Mapsui Class Usage Examples

Public Methods

Method Description
RenderLabel ( Mapsui point, LabelStyle style, IViewport viewport ) : CALayer
RenderLabel ( Mapsui point, LabelStyle style, IFeature feature, IViewport viewport, string text ) : CATextLayer

Private Methods

Method Description
ClusterFeatures ( IList clusters, IEnumerable features, double minDistance, IStyle layerStyle, double resolution ) : void
GetSizeForText ( int width, Foundation aString ) : CGSize
RenderBox ( BoundingBox box, IViewport viewport ) : CALayer

Method Details

RenderLabel() public static method

public static RenderLabel ( Mapsui point, LabelStyle style, IViewport viewport ) : CALayer
point Mapsui
style Mapsui.Styles.LabelStyle
viewport IViewport
return CALayer

RenderLabel() public static method

public static RenderLabel ( Mapsui point, LabelStyle style, IFeature feature, IViewport viewport, string text ) : CATextLayer
point Mapsui
style Mapsui.Styles.LabelStyle
feature IFeature
viewport IViewport
text string
return CATextLayer