상속: DisposableObject, IStyle
예제 #1
0
        public void TestStyle()
        {
            var styleS = new Style();
            styleS.MinVisible = 2;
            styleS.MaxVisible = 100;
            styleS.Enabled = false;

            var styleD = SandD(styleS, GetFormatter());

            AreStylesEqual(styleS, styleD);
        }
예제 #2
0
// ReSharper disable PublicConstructorInAbstractClass
        ///<summary>
        /// Creates an instance of this class using the given Style
        ///</summary>
        ///<param name="style"></param>
        public Layer(Style style)
// ReSharper restore PublicConstructorInAbstractClass
        {
            _style = style;
        }
예제 #3
0
 // ReSharper restore PublicConstructorInAbstractClass
 // ReSharper disable PublicConstructorInAbstractClass
 ///<summary>
 /// Creates an instance of this class using the given Style
 ///</summary>
 ///<param name="style"></param>
 public Layer(Style style)
 {
     _style = style;
 }
예제 #4
0
파일: Layer.cs 프로젝트: lishxi/_SharpMap
 protected Layer() //Style style)
 {
     _style = new Style();
 }
예제 #5
0
파일: Layer.cs 프로젝트: goranpavlovic/Gis
 //Style style)
 protected Layer()
 {
     _style = new Style();
 }