Exemple #1
0
 /// <summary>
 /// Creates a new instance of a LabelLayer
 /// </summary>
 public LabelLayer(string layername)
 {
     _Style = new SharpMap.Styles.LabelStyle();
     this.LayerName = layername;
     this.SmoothingMode = System.Drawing.Drawing2D.SmoothingMode.AntiAlias;
     this.TextRenderingHint = System.Drawing.Text.TextRenderingHint.AntiAlias;
     _MultipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All;
     _LabelFilter = SharpMap.Rendering.LabelCollisionDetection.SimpleCollisionDetection;
 }
Exemple #2
0
 /// <summary>
 /// Creates a new instance of a LabelLayer
 /// </summary>
 public LabelLayer(string layername)
     : base(new LabelStyle())
 {
     //_Style = new LabelStyle();
     LayerName                   = layername;
     SmoothingMode               = SmoothingMode.AntiAlias;
     TextRenderingHint           = TextRenderingHint.AntiAlias;
     _multipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All;
     _labelFilter                = LabelCollisionDetection.SimpleCollisionDetection;
 }
Exemple #3
0
 /// <summary>
 /// Creates a new instance of a LabelLayer
 /// </summary>
 public LabelLayer(string layername)
     :base(new LabelStyle())
 {
     //_Style = new LabelStyle();
     LayerName = layername;
     SmoothingMode = SmoothingMode.AntiAlias;
     TextRenderingHint = TextRenderingHint.AntiAlias;
     _multipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All;
     _labelFilter = LabelCollisionDetection.SimpleCollisionDetection;
 }
 /// <summary>
 /// Creates a new instance of a LabelLayer
 /// </summary>
 public LabelLayer(string LayerName)
     : base(LayerName)
 {
     _Style = new LabelStyle();
     _MultipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All;
     _LabelFilter = LabelCollisionDetection.SimpleCollisionDetection;
 }