Line

Inheritance: java.lang.Object

public class Line

Contains elements specifying general positioning information about a shape.

Methods

Method Description
deepClone() Creates deep copy of this instance.
equals(Object arg0)
getBeginArrow() Indicates whether a line has an arrowhead or other line end format at its first vertex.
getBeginArrowSize() Determines the size of the arrowhead at the beginning of the line.
getClass()
getCompoundType() Specifies the line CompoundType of the shape.
getDel() A flag indicating whether the element has been deleted locally.
getEndArrow() Indicates whether a line has an arrowhead or other line-end format at its last vertex.
getEndArrowSize() Specifies the size of the arrowhead at the end of the line.
getGradientLine() Contains the current gradient line formatting values for the shape
getLineCap() Specifies whether a line has rounded or square line ends.
getLineColor() Specifies the line color of the shape.
getLineColorTrans() Specifies the transparency level of a shape’s line color, from 0 (opaque) to 1 (completely transparent).
getLinePattern() Specifies the line pattern of the shape
getLineWeight() Specifies the line weight of a shape.
getRounding() Specifies the radius of the rounding arc applied where two contiguous segments of a path meet.
hashCode()
notify()
notifyAll()
setBeginArrow(IntValue value) For the description of this property, please see getBeginArrow()
setBeginArrowSize(ArrowSize value) For the description of this property, please see getBeginArrowSize()
setCompoundType(CompoundType value) For the description of this property, please see getCompoundType()
setDel(int value) For the description of this property, please see getDel()
setEndArrow(IntValue value) For the description of this property, please see getEndArrow()
setEndArrowSize(ArrowSize value) For the description of this property, please see getEndArrowSize()
setLineCap(BoolValue value) For the description of this property, please see getLineCap()
setLineColor(ColorValue value) For the description of this property, please see getLineColor()
setLineColorTrans(DoubleValue value) For the description of this property, please see getLineColorTrans()
setLinePattern(IntValue value) For the description of this property, please see getLinePattern()
setLineWeight(DoubleValue value) For the description of this property, please see getLineWeight()
setRounding(DoubleValue value) For the description of this property, please see getRounding()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

deepClone()

public Object deepClone()

Creates deep copy of this instance.

Returns: java.lang.Object -

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getBeginArrow()

public IntValue getBeginArrow()

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.

Returns: IntValue

getBeginArrowSize()

public ArrowSize getBeginArrowSize()

Determines the size of the arrowhead at the beginning of the line. Enter a number from 0 to 6.

Returns: ArrowSize

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getCompoundType()

public CompoundType getCompoundType()

Specifies the line CompoundType of the shape.

Returns: CompoundType

getDel()

public int getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Returns: int

getEndArrow()

public IntValue getEndArrow()

Indicates whether a line has an arrowhead or other line-end format at its last vertex.

Returns: IntValue

getEndArrowSize()

public ArrowSize getEndArrowSize()

Specifies the size of the arrowhead at the end of the line.

Returns: ArrowSize

getGradientLine()

public GradientFill getGradientLine()

Contains the current gradient line formatting values for the shape

Returns: GradientFill

getLineCap()

public BoolValue getLineCap()

Specifies whether a line has rounded or square line ends.

Returns: BoolValue

getLineColor()

public ColorValue getLineColor()

Specifies the line color of the shape.

Returns: ColorValue

getLineColorTrans()

public DoubleValue getLineColorTrans()

Specifies the transparency level of a shape’s line color, from 0 (opaque) to 1 (completely transparent). The default is 0.

Returns: DoubleValue

getLinePattern()

public IntValue getLinePattern()

Specifies the line pattern of the shape

Returns: IntValue

getLineWeight()

public DoubleValue getLineWeight()

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.

Returns: DoubleValue

getRounding()

public DoubleValue getRounding()

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.

Returns: DoubleValue

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setBeginArrow(IntValue value)

public void setBeginArrow(IntValue value)

For the description of this property, please see getBeginArrow()

Parameters:

Parameter Type Description
value IntValue

setBeginArrowSize(ArrowSize value)

public void setBeginArrowSize(ArrowSize value)

For the description of this property, please see getBeginArrowSize()

Parameters:

Parameter Type Description
value ArrowSize

setCompoundType(CompoundType value)

public void setCompoundType(CompoundType value)

For the description of this property, please see getCompoundType()

Parameters:

Parameter Type Description
value CompoundType

setDel(int value)

public void setDel(int value)

For the description of this property, please see getDel()

Parameters:

Parameter Type Description
value int

setEndArrow(IntValue value)

public void setEndArrow(IntValue value)

For the description of this property, please see getEndArrow()

Parameters:

Parameter Type Description
value IntValue

setEndArrowSize(ArrowSize value)

public void setEndArrowSize(ArrowSize value)

For the description of this property, please see getEndArrowSize()

Parameters:

Parameter Type Description
value ArrowSize

setLineCap(BoolValue value)

public void setLineCap(BoolValue value)

For the description of this property, please see getLineCap()

Parameters:

Parameter Type Description
value BoolValue

setLineColor(ColorValue value)

public void setLineColor(ColorValue value)

For the description of this property, please see getLineColor()

Parameters:

Parameter Type Description
value ColorValue

setLineColorTrans(DoubleValue value)

public void setLineColorTrans(DoubleValue value)

For the description of this property, please see getLineColorTrans()

Parameters:

Parameter Type Description
value DoubleValue

setLinePattern(IntValue value)

public void setLinePattern(IntValue value)

For the description of this property, please see getLinePattern()

Parameters:

Parameter Type Description
value IntValue

setLineWeight(DoubleValue value)

public void setLineWeight(DoubleValue value)

For the description of this property, please see getLineWeight()

Parameters:

Parameter Type Description
value DoubleValue

setRounding(DoubleValue value)

public void setRounding(DoubleValue value)

For the description of this property, please see getRounding()

Parameters:

Parameter Type Description
value DoubleValue

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int