Table of Contents

Class DrawingCanvas

Namespace
HeBianGu.Control.Chart2D
Assembly
HeBianGu.Control.Chart2D.dll
public abstract class DrawingCanvas : Canvas, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild, IDraw
Inheritance
DrawingCanvas
Implements
Derived
Inherited Members
Extension Methods

Fields

UseVisualProperty

public static readonly DependencyProperty UseVisualProperty

Field Value

DependencyProperty

Properties

UseVisual

public bool UseVisual { get; set; }

Property Value

bool

VisualChildrenCount

Gets the number of child Visual objects in this instance of Panel.

protected override int VisualChildrenCount { get; }

Property Value

int

The number of child Visual objects.

Methods

AddVisual(Visual)

public void AddVisual(Visual visual)

Parameters

visual Visual

Clear()

public virtual void Clear()

Draw(Canvas)

public virtual void Draw(Canvas canvas)

Parameters

canvas Canvas

GetVisual(Point)

public DrawingVisual GetVisual(Point point)

Parameters

point Point

Returns

DrawingVisual

GetVisualChild(int)

Gets a Visual child of this Panel at the specified index position.

protected override Visual GetVisualChild(int index)

Parameters

index int

The index position of the Visual child.

Returns

Visual

A Visual child of the parent Panel element.

Polyline(PointCollection, Brush, double)

public Visual Polyline(PointCollection points, Brush brush, double thinkness)

Parameters

points PointCollection
brush Brush
thinkness double

Returns

Visual

Refresh()

public virtual void Refresh()