Aspose::Font::RenderingPath::LineTo Class Reference

Represents LineTo operation. More...

#include <LineTo.h>

Inherits Aspose::Font::RenderingPath::IPathSegment.

Public Member Functions

ASPOSE_FONT_SHARED_API double get_X () const
 Gets coordinate x.
 
ASPOSE_FONT_SHARED_API double get_Y () const
 Gets coordinate y.
 
ASPOSE_FONT_SHARED_API System::SharedPtr< IPathSegmentCopy () override
 Creates copy of the segment object.
 
ASPOSE_FONT_SHARED_API void Shift (double dx, double dy) override
 Performs shift by x and y coordinates.
 
ASPOSE_FONT_SHARED_API void Transform (System::SharedPtr< TransformationMatrix > matrix) override
 Transforms coordinates with the transformation matrix.
 
ASPOSE_FONT_SHARED_API System::SharedPtr< System::Object > Clone () override
 Creates a new object that is a copy of the current instance.
 
ASPOSE_FONT_SHARED_API int32_t CompareTo (System::SharedPtr< IPathSegment > segment) override
 
- Public Member Functions inherited from Aspose::Font::RenderingPath::IPathSegment

Detailed Description

Represents LineTo operation.

Member Function Documentation

◆ Clone()

ASPOSE_FONT_SHARED_API System::SharedPtr< System::Object > Aspose::Font::RenderingPath::LineTo::Clone ( )
override

Creates a new object that is a copy of the current instance.

Returns
A new object that is a copy of this instance.

◆ CompareTo()

ASPOSE_FONT_SHARED_API int32_t Aspose::Font::RenderingPath::LineTo::CompareTo ( System::SharedPtr< IPathSegment > segment)
overridevirtual

◆ Copy()

ASPOSE_FONT_SHARED_API System::SharedPtr< IPathSegment > Aspose::Font::RenderingPath::LineTo::Copy ( )
overridevirtual

Creates copy of the segment object.

Returns
Copy of the segment object.

Implements Aspose::Font::RenderingPath::IPathSegment.

◆ get_X()

ASPOSE_FONT_SHARED_API double Aspose::Font::RenderingPath::LineTo::get_X ( ) const

Gets coordinate x.

◆ get_Y()

ASPOSE_FONT_SHARED_API double Aspose::Font::RenderingPath::LineTo::get_Y ( ) const

Gets coordinate y.

◆ Shift()

ASPOSE_FONT_SHARED_API void Aspose::Font::RenderingPath::LineTo::Shift ( double dx,
double dy )
overridevirtual

Performs shift by x and y coordinates.

Parameters
dxValue dx.
dyValue dy.

Implements Aspose::Font::RenderingPath::IPathSegment.

◆ Transform()

ASPOSE_FONT_SHARED_API void Aspose::Font::RenderingPath::LineTo::Transform ( System::SharedPtr< TransformationMatrix > matrix)
overridevirtual

Transforms coordinates with the transformation matrix.

Parameters
matrixTransformation matrix.

Implements Aspose::Font::RenderingPath::IPathSegment.