Table of Contents

Class GeometryFactory

Namespace
HeBianGu.Control.Shape
Assembly
HeBianGu.Control.Shape.dll
public static class GeometryFactory
Inheritance
GeometryFactory
Inherited Members

Properties

Circle

public static Geometry Circle { get; }

Property Value

Geometry

CornerRadius

public static Geometry CornerRadius { get; }

Property Value

Geometry

Diamond

public static Geometry Diamond { get; }

Property Value

Geometry

File

public static Geometry File { get; }

Property Value

Geometry

Hexagon

public static Geometry Hexagon { get; }

Property Value

Geometry

LineRect

public static Geometry LineRect { get; }

Property Value

Geometry

Parallelogram

public static Geometry Parallelogram { get; }

Property Value

Geometry

Pillar

public static Geometry Pillar { get; }

Property Value

Geometry

Runway

public static Geometry Runway { get; }

Property Value

Geometry

Wave

public static Geometry Wave { get; }

Property Value

Geometry

Methods

Create(string)

public static Geometry Create(string data)

Parameters

data string

Returns

Geometry

Create(Point, bool, params PathSegment[])

public static PathGeometry Create(Point start, bool isclose, params PathSegment[] segments)

Parameters

start Point
isclose bool
segments PathSegment[]

Returns

PathGeometry

CreateCircle(double)

public static Geometry CreateCircle(double len = 35)

Parameters

len double

Returns

Geometry

CreateCornerRadius(double, double, double)

public static Geometry CreateCornerRadius(double width = 70, double height = 60, double cornerRadius = 5)

Parameters

width double
height double
cornerRadius double

Returns

Geometry

CreateGroup(Action<GeometryGroup>, params Geometry[])

public static Geometry CreateGroup(Action<GeometryGroup> action = null, params Geometry[] geometries)

Parameters

action Action<GeometryGroup>
geometries Geometry[]

Returns

Geometry

CreateGroup(params string[])

public static Geometry CreateGroup(params string[] datas)

Parameters

datas string[]

Returns

Geometry

CreateGroup(params Geometry[])

public static Geometry CreateGroup(params Geometry[] geometries)

Parameters

geometries Geometry[]

Returns

Geometry

CreateLineRect(double, double, double)

public static Geometry CreateLineRect(double width = 100, double height = 60, double lineMargin = 10)

Parameters

width double
height double
lineMargin double

Returns

Geometry

CreatePillar(double, double, double, double)

public static Geometry CreatePillar(double width = 100, double height = 60, double radiusX = 50, double radiusY = 10)

Parameters

width double
height double
radiusX double
radiusY double

Returns

Geometry

CreateRunway(double, double)

public static Geometry CreateRunway(double width = 70, double height = 60)

Parameters

width double
height double

Returns

Geometry