| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- //
- // System.Drawing.Drawing2D.AdjustableArrowCap.cs
- //
- // Author:
- // Dennis Hayes ([email protected])
- //
- // (C) 2002/3 Ximian, Inc
- //
- using System;
- namespace System.Drawing.Drawing2D
- {
- /// <summary>
- /// Summary description for AdjustableArrowCap.
- /// </summary>
- public sealed class AdjustableArrowCap : CustomLineCap
- {
- private bool isFilled;
- private float height;
- private float width;
- private float middleInset;
- //Constructors
- public AdjustableArrowCap(float width, float height, bool isFilled) {
- this.isFilled = isFilled;
- this.height = height;
- this.width = width;
- middleInset = 0;
- }
- public AdjustableArrowCap(float width, float height) {
- isFilled = true;
- this.height = height;
- this.width = width;
- middleInset = 0;
- //AdjustableArrowCap(width, height, true);
- }
- //Public Properities
- [MonoTODO] //redraw on set
- public bool Filled {
- get {
- return isFilled;
- }
- set {
- isFilled = value;
- //Redraw!
- }
- }
- [MonoTODO] //redraw on set
- public float Width {
- get {
- return width;
- }
- set {
- width = value;
- //Redraw!
- }
- }
- [MonoTODO] //redraw on set
- public float Height {
- get {
- return height;
- }
- set {
- height = value;
- //Redraw!
- }
- }
- [MonoTODO] //redraw on set
- public float MiddleInset {
- get {
- return middleInset;
- }
- set {
- middleInset = value;
- //Redraw!
- }
- }
- }
- }
|