Class LineBase
public class LineBase : Layer, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IDraw- Inheritance
- 
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      
      LineBase
- Implements
- Derived
- Inherited Members
- Extension Methods
Fields
AlignmentCenterProperty
public static readonly DependencyProperty AlignmentCenterPropertyField Value
ThinningTypeProperty
public static readonly DependencyProperty ThinningTypePropertyField Value
ThresholdProperty
public static readonly DependencyProperty ThresholdPropertyField Value
Properties
AlignmentCenter
public bool AlignmentCenter { get; set; }Property Value
DefaultKey
public static ComponentResourceKey DefaultKey { get; }Property Value
ThinningType
public ThinningType ThinningType { get; set; }Property Value
Threshold
public int Threshold { get; set; }Property Value
Methods
Draw(Canvas)
public override void Draw(Canvas canvas)Parameters
- canvasCanvas
GetBezierSegment(Point, Point, Point, Point)
获得贝塞尔曲线
protected BezierSegment GetBezierSegment(Point currentPt, Point lastPt, Point nextPt1, Point nextPt2)Parameters
Returns
InitX()
protected override void InitX()