Exemplo n.º 1
0
		//Constructor
		public Layer()
		{
			mElements = new LayerElements(typeof(Element),"Element");
			mElements.SetModifiable(false);
			mShadowOffset = Component.Instance.DefaultShadowOffset;
			mShadowColor = Component.Instance.DefaultShadowColor;
		}
Exemplo n.º 2
0
 //Constructor
 public Layer()
 {
     mElements = new LayerElements(typeof(Element), "Element");
     mElements.SetModifiable(false);
     mShadowOffset = Component.Instance.DefaultShadowOffset;
     mShadowColor  = Component.Instance.DefaultShadowColor;
 }
Exemplo n.º 3
0
		protected internal Layer(bool defaultLayer)
		{
			mElements = new LayerElements(typeof(Element),"Element");
			mElements.SetModifiable(false);
			mDefault = defaultLayer;
			mShadowOffset = Component.Instance.DefaultShadowOffset;
			mShadowColor = Component.Instance.DefaultShadowColor;
		}
Exemplo n.º 4
0
 protected internal Layer(bool defaultLayer)
 {
     mElements = new LayerElements(typeof(Element), "Element");
     mElements.SetModifiable(false);
     mDefault      = defaultLayer;
     mShadowOffset = Component.Instance.DefaultShadowOffset;
     mShadowColor  = Component.Instance.DefaultShadowColor;
 }
Exemplo n.º 5
0
		public Layer(Layer prototype)
		{
			mElements = new LayerElements(typeof(Element),"Element");
			mElements.SetModifiable(false);

			mOpacity = prototype.Opacity;
			mVisible = prototype.Visible;
			mName = prototype.Name;
			mDrawShadows = prototype.DrawShadows;
			mShadowOffset = prototype.ShadowOffset;
			mShadowColor = prototype.ShadowColor;
			mSoftShadows = prototype.SoftShadows;
		}
Exemplo n.º 6
0
        public Layer(Layer prototype)
        {
            mElements = new LayerElements(typeof(Element), "Element");
            mElements.SetModifiable(false);

            mOpacity      = prototype.Opacity;
            mVisible      = prototype.Visible;
            mName         = prototype.Name;
            mDrawShadows  = prototype.DrawShadows;
            mShadowOffset = prototype.ShadowOffset;
            mShadowColor  = prototype.ShadowColor;
            mSoftShadows  = prototype.SoftShadows;
        }