SetLineCap

Inheritance: java.lang.Object, com.aspose.pdf.Operator

public class SetLineCap extends Operator

Class representing J operator (set line cap style).

Constructors

ConstructorDescription
SetLineCap(int cap)
SetLineCap(int index, ICommand command)

Methods

MethodDescription
getCap()Gets line caps style.
setCap(int value)Sets line caps style.
accept(IOperatorSelector visitor)Accepts visitor object to process operator.

SetLineCap(int cap)

public SetLineCap(int cap)

Parameters:

ParameterTypeDescription
capint

SetLineCap(int index, ICommand command)

public SetLineCap(int index, ICommand command)

Parameters:

ParameterTypeDescription
indexint
commandICommand

getCap()

public final int getCap()

Gets line caps style.

Returns: int - int value

setCap(int value)

public final void setCap(int value)

Sets line caps style.

Parameters:

ParameterTypeDescription
valueintint value

accept(IOperatorSelector visitor)

public void accept(IOperatorSelector visitor)

Accepts visitor object to process operator.

Parameters:

ParameterTypeDescription
visitorIOperatorSelectorVisitor object.