89 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			89 lines
		
	
	
		
			2.2 KiB
		
	
	
	
		
			C#
		
	
	
	
	
	
using System;
 | 
						|
using System.Collections.Generic;
 | 
						|
using System.Text;
 | 
						|
 | 
						|
namespace Volian.Svg.Library
 | 
						|
{
 | 
						|
	internal class SvgInheritedSettings
 | 
						|
	{
 | 
						|
		#region MyParent
 | 
						|
		SvgInheritedSettings _MyParentsSettings = null;
 | 
						|
		internal SvgInheritedSettings MyParentsSettings
 | 
						|
		{
 | 
						|
			get { return _MyParentsSettings; }
 | 
						|
			set 
 | 
						|
			{ 
 | 
						|
				_MyParentsSettings = value;
 | 
						|
				MyLineSettings.MyParentsSettings = value.MyLineSettings;
 | 
						|
				MyFillSettings.MyParentsSettings = value.MyFillSettings;
 | 
						|
				MyFontSettings.MyParentsSettings = value.MyFontSettings;
 | 
						|
			}
 | 
						|
		}
 | 
						|
		#endregion
 | 
						|
		#region Line Settings
 | 
						|
		private SvgLineSettings _MyLineSettings = new SvgLineSettings();
 | 
						|
		public SvgLineSettings MyLineSettings
 | 
						|
		{
 | 
						|
			get { return _MyLineSettings; }
 | 
						|
			set { _MyLineSettings = value; }
 | 
						|
		}
 | 
						|
		public string Stroke
 | 
						|
		{
 | 
						|
			get { return _MyLineSettings.Stroke; }
 | 
						|
			set { _MyLineSettings.Stroke = value; }
 | 
						|
		}
 | 
						|
		public string StrokeWidth
 | 
						|
		{
 | 
						|
			get { return _MyLineSettings.StrokeWidth; }
 | 
						|
			set { _MyLineSettings.StrokeWidth = value; }
 | 
						|
		}
 | 
						|
		#endregion
 | 
						|
		#region Fill Settings
 | 
						|
		private SvgFillSettings _MyFillSettings = new SvgFillSettings();
 | 
						|
		internal SvgFillSettings MyFillSettings
 | 
						|
		{
 | 
						|
			get { return _MyFillSettings; }
 | 
						|
			set { _MyFillSettings = value; }
 | 
						|
		}
 | 
						|
		public string Fill
 | 
						|
		{
 | 
						|
			get { return _MyFillSettings.Fill; }
 | 
						|
			set { _MyFillSettings.Fill = value; }
 | 
						|
		}
 | 
						|
		#endregion
 | 
						|
		#region Font Settings
 | 
						|
		private SvgFontSettings _MyFontSettings = new SvgFontSettings();
 | 
						|
		internal SvgFontSettings MyFontSettings
 | 
						|
		{
 | 
						|
			get { return _MyFontSettings; }
 | 
						|
			set { _MyFontSettings = value; }
 | 
						|
		}
 | 
						|
		public string FontFamily
 | 
						|
		{
 | 
						|
			get { return _MyFontSettings.FontFamily; }
 | 
						|
			set { _MyFontSettings.FontFamily = value; }
 | 
						|
		}
 | 
						|
		public string FontSize
 | 
						|
		{
 | 
						|
			get { return _MyFontSettings.FontSize; }
 | 
						|
			set { _MyFontSettings.FontSize = value; }
 | 
						|
		}
 | 
						|
		public string SVGFontStyle
 | 
						|
		{
 | 
						|
			get { return _MyFontSettings.SVGFontStyle; }
 | 
						|
			set { _MyFontSettings.SVGFontStyle = value; }
 | 
						|
		}
 | 
						|
		public string FontWeight
 | 
						|
		{
 | 
						|
			get { return _MyFontSettings.FontWeight; }
 | 
						|
			set { _MyFontSettings.FontWeight = value; }
 | 
						|
		}
 | 
						|
		public string TextDecoration
 | 
						|
		{
 | 
						|
			get { return _MyFontSettings.TextDecoration; }
 | 
						|
			set { _MyFontSettings.TextDecoration = value; }
 | 
						|
		}
 | 
						|
		#endregion
 | 
						|
	}
 | 
						|
}
 |