Example #1
0
 /// <summary>
 /// Creates a new instance of a LabelLayer
 /// </summary>
 public LabelLayer(string layername)
     : base(new LabelStyle(), new LabelRenderer())
 {
     //_Style = new LabelStyle();
     LayerName                  = layername;
     SmoothingMode              = Smoothing.AntiAlias;
     TextRenderingHint          = TextRendering.AntiAlias;
     MultipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All;
     _labelFilter               = LabelCollisionDetection.SimpleCollisionDetection;
 }
Example #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.QuickAccurateCollisionDetectionMethod;
 }
Example #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;
 }
Example #4
0
 /// <summary>
 /// Creates a new instance of a LabelLayer
 /// </summary>
 public LabelLayer(string LayerName)
     : base(LayerName)
 {
     _Style = new LabelStyle();
     _MultipartGeometryBehaviour = MultipartGeometryBehaviourEnum.All;
     _LabelFilter = LabelCollisionDetection.SimpleCollisionDetection;
 }