Inheritance: DisposableObject, IStyle
コード例 #1
0
ファイル: StylesTest.cs プロジェクト: PedroMaitan/sharpmap
        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
ファイル: Layer.cs プロジェクト: geobabbler/SharpMap
// 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
ファイル: Layer.cs プロジェクト: junglewithyou/SharpMap
 // 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();
 }