Table of Contents

TShapeLine Class

Contains the information for the line style for an autoshape.

Syntax

Namespace: FlexCel.Core

public class TShapeLine

Constructors

Methods

Name Description
Clone Returns a deep copy of this object.
GetLineFill This is the color used to draw the line, even if LineStyle is null
GetWidth Returns the line width. If there is a LineStyle this is the Line width, else if it is null it is the Theme line width.
GetDashing Returns the line dashing, if there is a LineStyle this is the Line dashing, else if it is null it is the Theme line dashing.
GetCap Returns the line cap, if there is a LineStyle this is the Line cap, else if it is null it is the Theme line cap.
GetCompoundLineType Returns the line type, if there is a LineStyle this is the Line type, else if it is null it is the Theme line type.
GetJoin Returns the line joining, if there is a LineStyle this is the Line join, else if it is null it is the Theme line join.
GetHeadArrow Returns the line arrow for the head, if there is a LineStyle this is the Line arrow, else if it is null it is the Theme line arrow.
GetTailArrow Returns the line arrow for the tail, if there is a LineStyle this is the Line arrow, else if it is null it is the Theme line arrow.
Equals Returns true if both objects have the same data.
GetHashCode Hash code for the object.

Properties

Name Description
HasLine True if the object has a border, false otherwise.
LineStyle Line style used to draw the line. Note that this can be null, and in this case, a line style from the current theme is used. If this isn't null, the theme properties are ignored.
ThemeStyle Theme used to draw the line. This property has effect only if LineStyle is null.
ThemeColor Color that will be used instead of the default in the theme, when using a theme to draw the line.
This property has effect only if LineStyle is null.