SimpleLine Class

Summary: Simple line symbolizer.

Module: aspose.gis.rendering.symbolizers

Full Name: aspose.gis.rendering.symbolizers.SimpleLine

Inheritance: VectorSymbolizer

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
SimpleLine()Creates new instance.
SimpleLine(other)Initializes a new instance of the SimpleLine class.

Properties

NameTypeAccessDescription
cap_styleCapStyler/wSpecifies how lines are rendered at their ends.
colorSystem.Drawing.Colorr/wSpecifies the color and transparency given to the line.
dash_offsetMeasurementr/wSpecifies the distance from the start of a line to the beginning of a dash pattern.
dash_patternSystem.Collections.Generic.IEnumerabler/wSpecifies an array of distances that specifies the lengths of alternating dashes and spaces
in dashed lines.
line_joinLineJoinr/wDetermines how lines are rendered at intersection of line segments.
null [static]NullVectorSymbolizerrThe NullVectorSymbolizer draws nothing and effectively skips rendering of a geometry it is applied to.
offsetMeasurementr/wSpecifies offset from the original line.
For positive distance the offset will be at the left side of the input line (relative to the line direction).
For a negative distance it will be at the right side.
styleStrokeStyler/wSpecifies how the symbol lines should be drawn.
widthMeasurementr/wSpecifies the width of the line.

Methods

NameDescription
clone()Clones this instance.

Constructor: SimpleLine()

 SimpleLine() 

Creates new instance.

Constructor: SimpleLine(other)

 SimpleLine(other) 

Initializes a new instance of the SimpleLine class.

Parameters:

ParameterTypeDescription
otherSimpleLineThe other SimpleLine to copy data from.

Method: clone()

 clone() 

Clones this instance.

Returns

TypeDescription
SimpleLineA clone of this instance.