com.aspose.diagram
Class Line

java.lang.Object
    extended by com.aspose.diagram.Line
All Implemented Interfaces:
java.lang.Cloneable

public class Line 
extends java.lang.Object

Contains elements specifying general positioning information about a shape.


Property Getters/Setters Summary
IntValuegetBeginArrow()
voidsetBeginArrow(IntValue)
           Indicates whether a line has an arrowhead or other line end format at its first vertex. Enter a number from 0 to 45 or the USE function with the name of a custom line end.
ArrowSizegetBeginArrowSize()
voidsetBeginArrowSize(ArrowSize)
           Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.
CompoundTypegetCompoundType()
voidsetCompoundType(CompoundType)
           Specifies the line CompoundType of the shape.
intgetDel()
voidsetDel(int)
           A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
IntValuegetEndArrow()
voidsetEndArrow(IntValue)
           Indicates whether a line has an arrowhead or other line-end format at its last vertex.
ArrowSizegetEndArrowSize()
voidsetEndArrowSize(ArrowSize)
           Specifies the size of the arrowhead at the end of the line.
GradientFillgetGradientLine()
           Contains the current gradient line formatting values for the shape
BoolValuegetLineCap()
voidsetLineCap(BoolValue)
           Specifies whether a line has rounded or square line ends.
ColorValuegetLineColor()
voidsetLineColor(ColorValue)
           Specifies the line color of the shape.
DoubleValuegetLineColorTrans()
voidsetLineColorTrans(DoubleValue)
           Specifies the transparency level of a shape's line color, from 0 (opaque) to 1 (completely transparent). The default is 0.
IntValuegetLinePattern()
voidsetLinePattern(IntValue)
           Specifies the line pattern of the shape
DoubleValuegetLineWeight()
voidsetLineWeight(DoubleValue)
           Specifies the line weight of a shape. Line weight is independent of the scale of the drawing. If the drawing is scaled, the line weight remains the same.
DoubleValuegetRounding()
voidsetRounding(DoubleValue)
           Specifies the radius of the rounding arc applied where two contiguous segments of a path meet. For example, rounding can be used to give a rectangle rounded corners.
 
Method Summary
java.lang.ObjectdeepClone()
           Creates deep copy of this instance.
 

Property Getters/Setters Detail

getDel/setDel

public int getDel() / public void setDel(int value)
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.

getLineWeight/setLineWeight

public DoubleValue getLineWeight() / public void setLineWeight(DoubleValue value)
Specifies the line weight of a shape. Line weight is independent of the scale of the drawing. If the drawing is scaled, the line weight remains the same.

getGradientLine

public GradientFill getGradientLine()
Contains the current gradient line formatting values for the shape

getLineColor/setLineColor

public ColorValue getLineColor() / public void setLineColor(ColorValue value)
Specifies the line color of the shape.

getCompoundType/setCompoundType

public CompoundType getCompoundType() / public void setCompoundType(CompoundType value)
Specifies the line CompoundType of the shape.

getLinePattern/setLinePattern

public IntValue getLinePattern() / public void setLinePattern(IntValue value)
Specifies the line pattern of the shape

getRounding/setRounding

public DoubleValue getRounding() / public void setRounding(DoubleValue value)
Specifies the radius of the rounding arc applied where two contiguous segments of a path meet. For example, rounding can be used to give a rectangle rounded corners.

getEndArrowSize/setEndArrowSize

public ArrowSize getEndArrowSize() / public void setEndArrowSize(ArrowSize value)
Specifies the size of the arrowhead at the end of the line.

getBeginArrow/setBeginArrow

public IntValue getBeginArrow() / public void setBeginArrow(IntValue value)
Indicates whether a line has an arrowhead or other line end format at its first vertex. Enter a number from 0 to 45 or the USE function with the name of a custom line end.

getEndArrow/setEndArrow

public IntValue getEndArrow() / public void setEndArrow(IntValue value)
Indicates whether a line has an arrowhead or other line-end format at its last vertex.

getLineCap/setLineCap

public BoolValue getLineCap() / public void setLineCap(BoolValue value)
Specifies whether a line has rounded or square line ends.

getBeginArrowSize/setBeginArrowSize

public ArrowSize getBeginArrowSize() / public void setBeginArrowSize(ArrowSize value)
Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.

getLineColorTrans/setLineColorTrans

public DoubleValue getLineColorTrans() / public void setLineColorTrans(DoubleValue value)
Specifies the transparency level of a shape's line color, from 0 (opaque) to 1 (completely transparent). The default is 0.

Method Detail

deepClone

public java.lang.Object deepClone()
                throws java.lang.Exception
Creates deep copy of this instance.
Returns:

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.