public MyRectangle(MyPaintSettings settings, int _name) : base(_name, settings) { fillStyle = settings.FillStyle; hatchStyle = settings.HatchStyle; imageTexture = settings.TextureBrushImage; imageTextureString = new MyImage(settings.TextureBrushImage); }
public MyText(String _text, Point _coord, MyPaintSettings settings, int _name) : base(_name, settings) { text = _text; coord = _coord; myFont = new MyFont(settings.font); font = myFont.toFont(); }
public MyParabol(List <Point> lsPoint, MyPaintSettings settings, int _name) : base(_name, settings) { polyPoint = new List <PointF>(); foreach (var item in lsPoint) { polyPoint.Add(item); } }
public MyRectangle(Point _startPoint, Point _endPoint, MyPaintSettings settings, int _name) : base(_name, settings) { startPoint = _startPoint; endPoint = _endPoint; fillStyle = settings.FillStyle; hatchStyle = settings.HatchStyle; imageTexture = settings.TextureBrushImage; imageTextureString = new MyImage(settings.TextureBrushImage); }
public Shape(int _name, MyPaintSettings settings) { myPrimaryColor = new MyColor(settings.PrimaryColor); mySecondColor = new MyColor(settings.SecondaryColor); myOutlineColor = new MyColor(settings.OutlineColor); stt = _name; primaryColor = myPrimaryColor.ToColor(); secondColor = mySecondColor.ToColor(); outlineColor = myOutlineColor.ToColor(); width = settings.Width; lineStyle = settings.LineStyle; angleIn = 0; }
public MyHyperbol(List <Point> lsPoint, MyPaintSettings settings, int _name) : base(lsPoint, settings, _name) { }
public MyArcEllipse(Point _startPoint, Point _endPoint, int _alpha, MyPaintSettings settings, int _name) : base(_startPoint, _endPoint, settings, _name) { alpha = _alpha; }
public MyBezier(List <Point> lsPoint, MyPaintSettings settings, int _name) : base(lsPoint, settings, _name) { }
public MyCircle(Point _startPoint, Point _endPoint, MyPaintSettings settings, int _name) : base(_startPoint, _endPoint, settings, _name) { }
public MyPolygon(List <Point> lsPoint, MyPaintSettings settings, int _name) : base(settings, _name) { polyPoint = lsPoint; }
public StraightLine(MyPaintSettings settings, int _name) : base(_name, settings) { }
public StraightLine(Point _startPoint, Point _endPoint, MyPaintSettings settings, int _name) : base(_name, settings) { startPoint = _startPoint; endPoint = _endPoint; }
public MyParallelogram(Point _startPoint, Point _endPoint, MyPaintSettings settings, int _name) : base(_startPoint, _endPoint, settings, _name) { alpha = -50; }
public MyPolyline(List <Point> lsPoint, MyPaintSettings settings, int _name) : base(_name, settings) { polyPoint = lsPoint; }
public ToolSettings(Bitmap bmp, PictureBox picBox, MyPaintSettings settings) { bitmap = bmp; pictureBox = picBox; this.settings = settings; }