C# Class Core2D.Style.LineStyle

Line style.
Inheritance: ObservableObject
Mostra file Open project: Core2D/Core2D Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
Clone ( ) : LineStyle

Clones line style.

Create ( string name = "", bool isCurved = false, double curvature = 50.0, CurveOrientation curveOrientation = CurveOrientation.Auto, LineFixedLength fixedLength = null ) : LineStyle

Creates a new LineStyle instance.

Method Details

Clone() public method

Clones line style.
public Clone ( ) : LineStyle
return LineStyle

Create() public static method

Creates a new LineStyle instance.
public static Create ( string name = "", bool isCurved = false, double curvature = 50.0, CurveOrientation curveOrientation = CurveOrientation.Auto, LineFixedLength fixedLength = null ) : LineStyle
name string The line style name.
isCurved bool The flag indicating whether line is curved.
curvature double The line curvature.
curveOrientation CurveOrientation The curve orientation.
fixedLength LineFixedLength The line style fixed length.
return LineStyle