Aspose::Pdf::Operators::SetDash class

SetDash class

Class representing d operator (set line dash pattern).

class SetDash : public Aspose::Pdf::Operator

Methods

MethodDescription
Accept(System::SharedPtr<IOperatorSelector>) overrideAccepts visitor object to process operator.
get_Index()Operator index in page operators list.
get_Pattern() constDash pattern. Array’s elements shall be numbers that specify the lengths of alternating dashes and gaps. In case of one element array dash and gap lengths are equal.
get_Phase() constDash phase. Before beginning to stroke a path, the dash array shall be cycled through, adding up the lengths of dashes and gaps. When the accumulated length equals the value specified by the dash phase, stroking of the path shall begin, and the dash array shall be used cyclically from that point onward.
static IsTextShowOperator(System::SharedPtr<Operator>)Determines if the operator is operator which responsible for text output (Tj, TJ, etc)
set_Index(int32_t)Operator index in page operators list.
set_Pattern(System::ArrayPtr<int32_t>)Dash pattern. Array’s elements shall be numbers that specify the lengths of alternating dashes and gaps. In case of one element array dash and gap lengths are equal.
set_Phase(int32_t)Dash phase. Before beginning to stroke a path, the dash array shall be cycled through, adding up the lengths of dashes and gaps. When the accumulated length equals the value specified by the dash phase, stroking of the path shall begin, and the dash array shall be used cyclically from that point onward.
SetDash(System::ArrayPtr<int32_t>, int32_t)Creates set dash pattern operator.
ToString() const overrideGets operator string representation.
ValueEquals(System::SharedPtr<Operator>)Compares this instance with the given object.

See Also