Aspose::Slides::IGeometryPath Class Referenceabstract

Represents geometry path of GeometryShape More...

Inherits System::Object.

Inherited by Aspose::Slides::GeometryPath.

Public Member Functions

virtual System::ArrayPtr< System::SharedPtr< IPathSegment > > get_PathData ()=0
 Returns geometry path of GeometryShape as an array of path segments. More...
 
virtual PathFillModeType get_FillMode ()=0
 Sets fill mode More...
 
virtual void set_FillMode (PathFillModeType value)=0
 Sets fill mode More...
 
virtual bool get_Stroke ()=0
 Sets stroke appearance More...
 
virtual void set_Stroke (bool value)=0
 Sets stroke appearance More...
 
virtual void RemoveAt (int32_t index)=0
 Removes segment at the specified index of the geometry path. More...
 
virtual void LineTo (System::Drawing::PointF point)=0
 Adds line to the end of the path More...
 
virtual void LineTo (float x, float y)=0
 Adds line to the end of the path More...
 
virtual void LineTo (System::Drawing::PointF point, uint32_t index)=0
 Adds line to the specified place of the path More...
 
virtual void LineTo (float x, float y, uint32_t index)=0
 Adds line to the specified place of the path More...
 
virtual void CubicBezierTo (System::Drawing::PointF point1, System::Drawing::PointF point2, System::Drawing::PointF point3)=0
 Adds cubic Bezier curve at the end the path More...
 
virtual void CubicBezierTo (float x1, float y1, float x2, float y2, float x3, float y3)=0
 Adds cubic Bezier curve at the end the path More...
 
virtual void CubicBezierTo (System::Drawing::PointF point1, System::Drawing::PointF point2, System::Drawing::PointF point3, uint32_t index)=0
 Adds cubic Bezier curve to the specified place of the path More...
 
virtual void CubicBezierTo (float x1, float y1, float x2, float y2, float x3, float y3, uint32_t index)=0
 Adds cubic Bezier curve to the specified place of the path More...
 
virtual void QuadraticBezierTo (System::Drawing::PointF point1, System::Drawing::PointF point2)=0
 Adds quadratic Bezier curve at the end the path More...
 
virtual void QuadraticBezierTo (float x1, float y1, float x2, float y2)=0
 Adds quadratic Bezier curve at the end the path More...
 
virtual void QuadraticBezierTo (System::Drawing::PointF point1, System::Drawing::PointF point2, uint32_t index)=0
 Adds quadratic Bezier curve to the specified place of the path More...
 
virtual void QuadraticBezierTo (float x1, float y1, float x2, float y2, uint32_t index)=0
 Adds quadratic Bezier curve to the specified place of the path More...
 
virtual void CloseFigure ()=0
 Closes the current figure of this path More...
 
virtual void MoveTo (System::Drawing::PointF point)=0
 Sets next point position. More...
 
virtual void MoveTo (float x, float y)=0
 Sets next point position. More...
 
virtual void ArcTo (float width, float heigth, float startAngle, float sweepAngle)=0
 Appends the specified arc to the path. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared reference counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr. More...
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style. More...
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style. More...
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct. More...
 

Detailed Description

Represents geometry path of GeometryShape

Member Function Documentation

◆ ArcTo()

virtual void Aspose::Slides::IGeometryPath::ArcTo ( float  width,
float  heigth,
float  startAngle,
float  sweepAngle 
)
pure virtual

Appends the specified arc to the path.

Parameters
widthWidth of the rectangle
heigthHeight of the rectangle
startAngleStart angle.
sweepAngleSweep angle/

Implemented in Aspose::Slides::GeometryPath.

◆ CloseFigure()

virtual void Aspose::Slides::IGeometryPath::CloseFigure ( )
pure virtual

Closes the current figure of this path

Implemented in Aspose::Slides::GeometryPath.

◆ CubicBezierTo() [1/4]

virtual void Aspose::Slides::IGeometryPath::CubicBezierTo ( System::Drawing::PointF  point1,
System::Drawing::PointF  point2,
System::Drawing::PointF  point3 
)
pure virtual

Adds cubic Bezier curve at the end the path

Parameters
point1First direction point
point2Second direction point
point3End point
Returns

Implemented in Aspose::Slides::GeometryPath.

◆ CubicBezierTo() [2/4]

virtual void Aspose::Slides::IGeometryPath::CubicBezierTo ( float  x1,
float  y1,
float  x2,
float  y2,
float  x3,
float  y3 
)
pure virtual

Adds cubic Bezier curve at the end the path

Parameters
x1X coordinate of first direction point
y1Y coordinate of first direction point
x2X coordinate of second direction point
y2Y coordinate of second direction point
x3X coordinate of end point
y3Y coordinate of end point

Implemented in Aspose::Slides::GeometryPath.

◆ CubicBezierTo() [3/4]

virtual void Aspose::Slides::IGeometryPath::CubicBezierTo ( System::Drawing::PointF  point1,
System::Drawing::PointF  point2,
System::Drawing::PointF  point3,
uint32_t  index 
)
pure virtual

Adds cubic Bezier curve to the specified place of the path

Parameters
point1First direction point
point2Second direction point
point3End point
indexIndex of segment in PathData
Exceptions
System::ArgumentOutOfRangeExceptionSegment index is out of PathData range

Implemented in Aspose::Slides::GeometryPath.

◆ CubicBezierTo() [4/4]

virtual void Aspose::Slides::IGeometryPath::CubicBezierTo ( float  x1,
float  y1,
float  x2,
float  y2,
float  x3,
float  y3,
uint32_t  index 
)
pure virtual

Adds cubic Bezier curve to the specified place of the path

Parameters
x1X coordinate of first direction point
y1Y coordinate of first direction point
x2X coordinate of second direction point
y2Y coordinate of second direction point
x3X coordinate of end point
y3Y coordinate of end point
indexIndex of segment in PathData
Exceptions
System::ArgumentOutOfRangeExceptionSegment index is out of PathData range

Implemented in Aspose::Slides::GeometryPath.

◆ get_FillMode()

virtual PathFillModeType Aspose::Slides::IGeometryPath::get_FillMode ( )
pure virtual

Sets fill mode

Implemented in Aspose::Slides::GeometryPath.

◆ get_PathData()

virtual System::ArrayPtr<System::SharedPtr<IPathSegment> > Aspose::Slides::IGeometryPath::get_PathData ( )
pure virtual

Returns geometry path of GeometryShape as an array of path segments.

Implemented in Aspose::Slides::GeometryPath.

◆ get_Stroke()

virtual bool Aspose::Slides::IGeometryPath::get_Stroke ( )
pure virtual

Sets stroke appearance

Implemented in Aspose::Slides::GeometryPath.

◆ LineTo() [1/4]

virtual void Aspose::Slides::IGeometryPath::LineTo ( System::Drawing::PointF  point)
pure virtual

Adds line to the end of the path

Parameters
pointEnd point of the line

Implemented in Aspose::Slides::GeometryPath.

◆ LineTo() [2/4]

virtual void Aspose::Slides::IGeometryPath::LineTo ( float  x,
float  y 
)
pure virtual

Adds line to the end of the path

Parameters
xX coordinate of the end point of the line
yY coordinate of the end point of the line

Implemented in Aspose::Slides::GeometryPath.

◆ LineTo() [3/4]

virtual void Aspose::Slides::IGeometryPath::LineTo ( System::Drawing::PointF  point,
uint32_t  index 
)
pure virtual

Adds line to the specified place of the path

Parameters
pointEnd point
indexIndex of segment in PathData
Exceptions
System::ArgumentOutOfRangeExceptionSegment index is out of PathData range

Implemented in Aspose::Slides::GeometryPath.

◆ LineTo() [4/4]

virtual void Aspose::Slides::IGeometryPath::LineTo ( float  x,
float  y,
uint32_t  index 
)
pure virtual

Adds line to the specified place of the path

Parameters
xX coordinate of the point
yY coordinate of the point
indexIndex of segment in PathData
Exceptions
System::ArgumentOutOfRangeExceptionSegment index is out of PathData range

Implemented in Aspose::Slides::GeometryPath.

◆ MoveTo() [1/2]

virtual void Aspose::Slides::IGeometryPath::MoveTo ( System::Drawing::PointF  point)
pure virtual

Sets next point position.

Parameters
pointPoint position

Implemented in Aspose::Slides::GeometryPath.

◆ MoveTo() [2/2]

virtual void Aspose::Slides::IGeometryPath::MoveTo ( float  x,
float  y 
)
pure virtual

Sets next point position.

Parameters
xX coordinate of the point
yY Coordinate of the point

Implemented in Aspose::Slides::GeometryPath.

◆ QuadraticBezierTo() [1/4]

virtual void Aspose::Slides::IGeometryPath::QuadraticBezierTo ( System::Drawing::PointF  point1,
System::Drawing::PointF  point2 
)
pure virtual

Adds quadratic Bezier curve at the end the path

Parameters
point1Direction point
point2End point
Returns

Implemented in Aspose::Slides::GeometryPath.

◆ QuadraticBezierTo() [2/4]

virtual void Aspose::Slides::IGeometryPath::QuadraticBezierTo ( float  x1,
float  y1,
float  x2,
float  y2 
)
pure virtual

Adds quadratic Bezier curve at the end the path

Parameters
x1X coordinate of direction point
y1Y coordinate of direction point
x2X coordinate of end point
y2Y coordinate of end point

Implemented in Aspose::Slides::GeometryPath.

◆ QuadraticBezierTo() [3/4]

virtual void Aspose::Slides::IGeometryPath::QuadraticBezierTo ( System::Drawing::PointF  point1,
System::Drawing::PointF  point2,
uint32_t  index 
)
pure virtual

Adds quadratic Bezier curve to the specified place of the path

Parameters
point1Direction point
point2End point
indexIndex of segment in PathData
Exceptions
System::ArgumentOutOfRangeExceptionSegment index is out of PathData range

Implemented in Aspose::Slides::GeometryPath.

◆ QuadraticBezierTo() [4/4]

virtual void Aspose::Slides::IGeometryPath::QuadraticBezierTo ( float  x1,
float  y1,
float  x2,
float  y2,
uint32_t  index 
)
pure virtual

Adds quadratic Bezier curve to the specified place of the path

Parameters
x1X coordinate of direction point
y1Y coordinate of direction point
x2X coordinate of end point
y2Y coordinate of end point
indexIndex of segment in PathData
Exceptions
System::ArgumentOutOfRangeExceptionSegment index is out of PathData range

Implemented in Aspose::Slides::GeometryPath.

◆ RemoveAt()

virtual void Aspose::Slides::IGeometryPath::RemoveAt ( int32_t  index)
pure virtual

Removes segment at the specified index of the geometry path.

Parameters
index

Implemented in Aspose::Slides::GeometryPath.

◆ set_FillMode()

virtual void Aspose::Slides::IGeometryPath::set_FillMode ( PathFillModeType  value)
pure virtual

Sets fill mode

Implemented in Aspose::Slides::GeometryPath.

◆ set_Stroke()

virtual void Aspose::Slides::IGeometryPath::set_Stroke ( bool  value)
pure virtual

Sets stroke appearance

Implemented in Aspose::Slides::GeometryPath.