Aspose::Page::XPS::XpsModel::XpsPath Class Referencefinal

Class incapsulating Path element features. This element is the sole means of adding vector graphics and images to a fixed page. It defines a single vector graphic to be rendered on a page. More...

Inherits Aspose::Page::XPS::XpsModel::XpsContentElement.

Public Member Functions

ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsBrushget_Fill ()
 Returns/sets the brush used to paint the geometry specified by the Data property of the path. More...
 
ASPOSE_PAGE_SHARED_API void set_Fill (System::SharedPtr< XpsBrush > value)
 Returns/sets the brush used to paint the geometry specified by the Data property of the path. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsPathGeometryget_Data ()
 Returns/sets the geometry of the path. More...
 
ASPOSE_PAGE_SHARED_API void set_Data (System::SharedPtr< XpsPathGeometry > value)
 Returns/sets the geometry of the path. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsBrushget_Stroke ()
 Returns/sets the brush used to draw the stroke. More...
 
ASPOSE_PAGE_SHARED_API void set_Stroke (System::SharedPtr< XpsBrush > value)
 Returns/sets the brush used to draw the stroke. More...
 
ASPOSE_PAGE_SHARED_API System::ArrayPtr< float > get_StrokeDashArray () const
 Returns/sets the array specifying the length of dashes and gaps of the outline stroke. More...
 
ASPOSE_PAGE_SHARED_API void set_StrokeDashArray (System::ArrayPtr< float > value)
 Returns/sets the array specifying the length of dashes and gaps of the outline stroke. More...
 
ASPOSE_PAGE_SHARED_API XpsDashCap get_StrokeDashCap () const
 Returns/sets the value specifying how the ends of each dash are drawn. More...
 
ASPOSE_PAGE_SHARED_API void set_StrokeDashCap (XpsDashCap value)
 Returns/sets the value specifying how the ends of each dash are drawn. More...
 
ASPOSE_PAGE_SHARED_API float get_StrokeDashOffset () const
 Returns/sets the start point for repeating the dash array pattern. If this value is omitted, the dash array aligns with the origin of the stroke. More...
 
ASPOSE_PAGE_SHARED_API void set_StrokeDashOffset (float value)
 Returns/sets the start point for repeating the dash array pattern. If this value is omitted, the dash array aligns with the origin of the stroke. More...
 
ASPOSE_PAGE_SHARED_API XpsLineCap get_StrokeStartLineCap () const
 Returns/sets the value defining the shape of the beginning of the first dash in a stroke. More...
 
ASPOSE_PAGE_SHARED_API void set_StrokeStartLineCap (XpsLineCap value)
 Returns/sets the value defining the shape of the beginning of the first dash in a stroke. More...
 
ASPOSE_PAGE_SHARED_API XpsLineCap get_StrokeEndLineCap () const
 Returns/sets the value defining the shape of the end of the last dash in a stroke. More...
 
ASPOSE_PAGE_SHARED_API void set_StrokeEndLineCap (XpsLineCap value)
 Returns/sets the value defining the shape of the end of the last dash in a stroke. More...
 
ASPOSE_PAGE_SHARED_API XpsLineJoin get_StrokeLineJoin () const
 Returns/sets the value defining the shape of the beginning of the first dash in a stroke. More...
 
ASPOSE_PAGE_SHARED_API void set_StrokeLineJoin (XpsLineJoin value)
 Returns/sets the value defining the shape of the beginning of the first dash in a stroke. More...
 
ASPOSE_PAGE_SHARED_API float get_StrokeMiterLimit () const
 Returns/sets the ratio between the maximum miter length and half of the stroke thickness. This value is significant only if the StrokeLineJoin attribute specifies Miter. More...
 
ASPOSE_PAGE_SHARED_API void set_StrokeMiterLimit (float value)
 Returns/sets the ratio between the maximum miter length and half of the stroke thickness. This value is significant only if the StrokeLineJoin attribute specifies Miter. More...
 
ASPOSE_PAGE_SHARED_API float get_StrokeThickness () const
 Returns/sets the thickness of a stroke, in units of the effective coordinate space (includes the path's render transform). The stroke is drawn on top of the boundary of the geometry specified by the Path element’s Data property. Half of the StrokeThickness extends outside of the geometry specified by the Data property and the other half extends inside of the geometry. More...
 
ASPOSE_PAGE_SHARED_API void set_StrokeThickness (float value)
 Returns/sets the thickness of a stroke, in units of the effective coordinate space (includes the path's render transform). The stroke is drawn on top of the boundary of the geometry specified by the Path element’s Data property. Half of the StrokeThickness extends outside of the geometry specified by the Data property and the other half extends inside of the geometry. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsPathClone ()
 Clones this path. More...
 
- Public Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsContentElement
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsMatrixget_RenderTransform ()
 Returns/sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any). More...
 
ASPOSE_PAGE_SHARED_API void set_RenderTransform (System::SharedPtr< XpsMatrix > value)
 Returns/sets the affine transformation matrix establishing a new coordinate frame for all attributes of the element and for all child elements (if any). More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsPathGeometryget_Clip ()
 Returns/sets the path geometry instance limiting the rendered region of the element. More...
 
ASPOSE_PAGE_SHARED_API void set_Clip (System::SharedPtr< XpsPathGeometry > value)
 Returns/sets the path geometry instance limiting the rendered region of the element. More...
 
ASPOSE_PAGE_SHARED_API float get_Opacity () const
 Returns/sets the value defining the uniform transparency of the element. More...
 
ASPOSE_PAGE_SHARED_API void set_Opacity (float value)
 Returns/sets the value defining the uniform transparency of the element. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsBrushget_OpacityMask ()
 Returns/sets the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element. More...
 
ASPOSE_PAGE_SHARED_API void set_OpacityMask (System::SharedPtr< XpsBrush > value)
 Returns/sets the brush specifying a mask of alpha values that is applied to the element in the same fashion as the Opacity attribute, but allowing different alpha values for different areas of the element. More...
 
- Public Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsElement
ASPOSE_PAGE_SHARED_API const System::SharedPtr< XpsElement > & get_Parent () const
 
ASPOSE_PAGE_SHARED_API void set_Parent (System::SharedPtr< XpsElement > value)
 
ASPOSE_PAGE_SHARED_API int32_t get_Count ()
 Returns number of child elements. More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsContentElementidx_get (int32_t i)
 Provides access to element's children by index i . More...
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< System::Collections::Generic::IEnumerator< System::SharedPtr< XpsContentElement > > > GetEnumerator () override
 Implementation of System::Collections::Generic::IEnumerable<XpsContentElement> interface. More...
 
ASPOSE_PAGE_SHARED_API void cpp_set_parent_weak ()
 
ASPOSE_PAGE_SHARED_API void cpp_set_parent_shared ()
 
ASPOSE_PAGE_SHARED_API iterator begin () noexcept
 
ASPOSE_PAGE_SHARED_API iterator end () noexcept
 
ASPOSE_PAGE_SHARED_API const_iterator begin () const noexcept
 
ASPOSE_PAGE_SHARED_API const_iterator end () const noexcept
 
ASPOSE_PAGE_SHARED_API const_iterator cbegin () const noexcept
 
ASPOSE_PAGE_SHARED_API const_iterator cend () const noexcept
 
ASPOSE_PAGE_SHARED_API virtualized_iteratorvirtualizeBeginIterator () override
 
ASPOSE_PAGE_SHARED_API virtualized_iteratorvirtualizeEndIterator () override
 
ASPOSE_PAGE_SHARED_API virtualized_iteratorvirtualizeBeginConstIterator () const override
 
ASPOSE_PAGE_SHARED_API virtualized_iteratorvirtualizeEndConstIterator () const override
 
ASPOSE_PAGE_SHARED_API void SetTemplateWeakPtr (uint32_t argument) override
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
- Public Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsObject
ASPOSE_PAGE_SHARED_API void AssertObject ()
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API 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...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 
- Public Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_ElementAt (int index)
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_First ()
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_First (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, bool > &predicate)
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_FirstOrDefault ()
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_FirstOrDefault (std::function< bool(System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >)> predicate)
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_Last ()
 
System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElementLINQ_LastOrDefault ()
 
SharedPtr< List< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > LINQ_ToList ()
 
int LINQ_Count ()
 
int LINQ_Count (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, bool > &predicate)
 
System::ArrayPtr< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > LINQ_ToArray ()
 
bool LINQ_All (std::function< bool(System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >)> predicate)
 
bool LINQ_Any ()
 
bool LINQ_Any (std::function< bool(System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >)> predicate)
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > LINQ_Where (std::function< bool(System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >)> predicate)
 
bool LINQ_Contains (System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > value)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Cast ()
 
SharedPtr< IEnumerable< Result > > LINQ_Cast ()
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > LINQ_OrderBy (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, Key > &keySelector)
 
SharedPtr< IEnumerable< Source > > LINQ_OrderBy (const Func< Source, Key > &keySelector)
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > LINQ_OrderByDescending (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, Key > &keySelector)
 
SharedPtr< IEnumerable< Source > > LINQ_OrderByDescending (const Func< Source, Key > &keySelector)
 
SharedPtr< IEnumerable< ResultType > > LINQ_OfType ()
 
SharedPtr< IEnumerable< Result > > LINQ_OfType ()
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, ResultType > &selector)
 
SharedPtr< IEnumerable< ResultType > > LINQ_Select (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, int32_t, ResultType > &selector)
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, Result > &selector)
 
SharedPtr< IEnumerable< Result > > LINQ_Select (const Func< Source, int32_t, Result > &selector)
 
SharedPtr< IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > LINQ_Concat (SharedPtr< IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >> sequence)
 
System::SharedPtr< IEnumerable< System::SharedPtr< System::Linq::IGrouping< Key, System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > > > > LINQ_GroupBy (System::Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, Key > keyPredicate)
 
SharedPtr< IEnumerable< SharedPtr< System::Linq::IGrouping< Key, Source > > > > LINQ_GroupBy (System::Func< Source, Key > keyPredicate)
 
SharedPtr< IEnumerable< ResultType > > LINQ_SelectMany (const Func< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >, SharedPtr< IEnumerable< ResultType >>> &selector)
 
SharedPtr< IEnumerable< Result > > LINQ_SelectMany (const Func< Source, SharedPtr< IEnumerable< Result >>> &selector)
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 

Protected Member Functions

System::String get_RawData ()
 
 XpsPath (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsPathGeometry > data)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (XpsPath, CODEPORTING_ARGS(System::SharedPtr< XpsContext > context, System::SharedPtr< XpsPathGeometry > data))
 
 XpsPath (System::SharedPtr< XpsContext > context, int32_t elementId=-1)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (XpsPath, CODEPORTING_ARGS(System::SharedPtr< XpsContext > context, int32_t elementId=-1))
 
 XpsPath (System::SharedPtr< System::Xml::XmlElement > element, System::SharedPtr< XpsElement > parent, int32_t elementId=-1)
 
 MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION (XpsPath, CODEPORTING_ARGS(System::SharedPtr< System::Xml::XmlElement > element, System::SharedPtr< XpsElement > parent, int32_t elementId=-1))
 
ASPOSE_PAGE_SHARED_API void Initialize (System::SharedPtr< System::Xml::XmlElement > element) override
 
ASPOSE_PAGE_SHARED_API void Accept (System::SharedPtr< XpsDocumentVisitor > visitor) override
 
ASPOSE_PAGE_SHARED_API void AcceptProperties (System::SharedPtr< XpsDocumentVisitor > visitor) override
 
ASPOSE_PAGE_SHARED_API void NotifyDescendants (bool isAdd=true) override
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsElementClone (bool deep, System::SharedPtr< XpsContext > context, System::SharedPtr< XpsElement > parent, int32_t index) override
 
ASPOSE_PAGE_SHARED_API void CopyPropertyValues (System::SharedPtr< XpsObject > obj) override
 
ASPOSE_PAGE_SHARED_API void ClonePropertyValues (System::SharedPtr< XpsObject > obj) override
 
ASPOSE_PAGE_SHARED_API void CopySimplePropertyValues (System::SharedPtr< XpsObject > obj) override
 
ASPOSE_PAGE_SHARED_API void Dispose () override
 
virtual ASPOSE_PAGE_SHARED_API ~XpsPath ()
 
- Protected Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsContentElement
System::String get_RawClip ()
 
 XpsContentElement (System::SharedPtr< XpsContext > context, int32_t elementId=-1, XpsElementType elementType=System::Default< XpsElementType >())
 
virtual ASPOSE_PAGE_SHARED_API ~XpsContentElement ()
 
- Protected Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsElement
XpsElementType get_ElementType () const
 
 XpsElement (System::SharedPtr< XpsContext > context, XpsElementType elementType=System::Default< XpsElementType >())
 
ASPOSE_PAGE_SHARED_API void NotifyRoot (System::SharedPtr< XpsEvent > evt) override
 
template<typename T >
Add (T element)
 
template<typename T >
AddReference (T element)
 
template<typename T >
Remove (T element)
 
template<typename T >
RemoveReference (T element)
 
template<typename T >
Insert (int32_t index, T element)
 
template<typename T >
InsertReference (int32_t index, T element)
 
System::SharedPtr< XpsContentElementRemoveAt (int32_t index)
 
System::SharedPtr< XpsContentElementRemoveReferenceAt (int32_t index, System::SharedPtr< XpsContentElement > element)
 
void CloneChildren (System::SharedPtr< XpsElement > element, bool deep=true)
 Clones all the children of element and add them to this element. More...
 
System::SharedPtr< XpsCanvasCreateCanvas (System::SharedPtr< XpsContext > context)
 
System::SharedPtr< XpsPathCreatePath (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsPathGeometry > data)
 
System::SharedPtr< XpsGlyphsCreateGlyphs (System::SharedPtr< XpsContext > context, System::String fontFamily, float fontRenderingEmSize, System::Drawing::FontStyle fontStyle, float originX, float originY, System::String unicodeString)
 
System::SharedPtr< XpsGlyphsCreateGlyphs (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsFont > font, float fontRenderingEmSize, float originX, float originY, System::String unicodeString)
 
System::SharedPtr< XpsMatrixCreateMatrix (System::SharedPtr< XpsContext > context, float m11, float m12, float m21, float m22, float m31, float m32)
 
System::SharedPtr< XpsPathGeometryCreatePathGeometry (System::SharedPtr< XpsContext > context)
 
System::SharedPtr< XpsPathGeometryCreatePathGeometry (System::SharedPtr< XpsContext > context, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsPathFigure >>> pathFigures)
 
System::SharedPtr< XpsPathGeometryCreatePathGeometry (System::SharedPtr< XpsContext > context, System::String abbreviatedGeometry)
 
System::SharedPtr< XpsPathFigureCreatePathFigure (System::SharedPtr< XpsContext > context, System::Drawing::PointF startPoint, bool isClosed=false)
 
System::SharedPtr< XpsPathFigureCreatePathFigure (System::SharedPtr< XpsContext > context, System::Drawing::PointF startPoint, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsPathSegment >>> segments, bool isClosed=false)
 
System::SharedPtr< XpsArcSegmentCreateArcSegment (System::SharedPtr< XpsContext > context, System::Drawing::PointF point, System::Drawing::SizeF size, float rotationAngle, bool isLargeArc, XpsSweepDirection sweepDirection, bool isStroked=true)
 
System::SharedPtr< XpsPolyLineSegmentCreatePolyLineSegment (System::SharedPtr< XpsContext > context, System::ArrayPtr< System::Drawing::PointF > points, bool isStroked=true)
 
System::SharedPtr< XpsPolyBezierSegmentCreatePolyBezierSegment (System::SharedPtr< XpsContext > context, System::ArrayPtr< System::Drawing::PointF > points, bool isStroked=true)
 
System::SharedPtr< XpsPolyQuadraticBezierSegmentCreatePolyQuadraticBezierSegment (System::SharedPtr< XpsContext > context, System::ArrayPtr< System::Drawing::PointF > points, bool isStroked=true)
 
System::SharedPtr< XpsSolidColorBrushCreateSolidColorBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsColor > color)
 
System::SharedPtr< XpsSolidColorBrushCreateSolidColorBrush (System::SharedPtr< XpsContext > context, System::Drawing::Color color)
 
System::SharedPtr< XpsGradientStopCreateGradientStop (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsColor > color, float offset)
 
System::SharedPtr< XpsGradientStopCreateGradientStop (System::Drawing::Color color, float offset)
 
System::SharedPtr< XpsLinearGradientBrushCreateLinearGradientBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsGradientStop >>> gradientStops, System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
 
System::SharedPtr< XpsLinearGradientBrushCreateLinearGradientBrush (System::SharedPtr< XpsContext > context, System::Drawing::PointF startPoint, System::Drawing::PointF endPoint)
 
System::SharedPtr< XpsRadialGradientBrushCreateRadialGradientBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsGradientStop >>> gradientStops, System::Drawing::PointF center, System::Drawing::PointF gradientOrigin, float radiusX, float radiusY)
 
System::SharedPtr< XpsRadialGradientBrushCreateRadialGradientBrush (System::SharedPtr< XpsContext > context, System::Drawing::PointF center, System::Drawing::PointF gradientOrigin, float radiusX, float radiusY)
 
System::SharedPtr< XpsVisualBrushCreateVisualBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsContentElement > element, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
 
System::SharedPtr< XpsImageBrushCreateImageBrush (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsImage > image, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
 
System::SharedPtr< XpsImageBrushCreateImageBrush (System::SharedPtr< XpsContext > context, System::String imagePath, System::Drawing::RectangleF viewbox, System::Drawing::RectangleF viewport)
 
System::SharedPtr< XpsColorCreateColor (System::Drawing::Color color)
 
System::SharedPtr< XpsColorCreateColor (int32_t a, int32_t r, int32_t g, int32_t b)
 
System::SharedPtr< XpsColorCreateColor (int32_t r, int32_t g, int32_t b)
 
System::SharedPtr< XpsColorCreateColor (float a, float r, float g, float b)
 
System::SharedPtr< XpsColorCreateColor (float r, float g, float b)
 
System::SharedPtr< XpsColorCreateColor (System::SharedPtr< XpsContext > context, System::String path, const System::ArrayPtr< float > &components)
 
System::SharedPtr< XpsColorCreateColor (System::SharedPtr< XpsContext > context, System::SharedPtr< XpsIccProfile > iccProfile, const System::ArrayPtr< float > &components)
 
System::SharedPtr< XpsImageCreateImage (System::SharedPtr< XpsContext > context, System::String imagePath)
 
System::SharedPtr< XpsImageCreateImage (System::SharedPtr< XpsContext > context, System::SharedPtr< System::IO::Stream > stream)
 
System::SharedPtr< XpsIccProfileCreateIccProfile (System::SharedPtr< XpsContext > context, System::String iccProfilePath)
 
System::SharedPtr< XpsIccProfileCreateIccProfile (System::SharedPtr< XpsContext > context, System::SharedPtr< System::IO::Stream > stream)
 
System::SharedPtr< XpsFontCreateFont (System::SharedPtr< XpsContext > context, System::String fontFamily, System::Drawing::FontStyle fontStyle)
 
System::SharedPtr< XpsFontCreateFont (System::SharedPtr< XpsContext > context, System::SharedPtr< System::IO::Stream > stream)
 
ASPOSE_PAGE_SHARED_API System::SharedPtr< XpsObjectClone (bool deep, System::SharedPtr< XpsContext > context) override
 
void Accept (System::SharedPtr< XpsTreeVisitor > visitor, System::SharedPtr< System::Xml::XmlElement > element)
 
virtual ASPOSE_PAGE_SHARED_API ~XpsElement ()
 
- Protected Member Functions inherited from Aspose::Page::XPS::XpsModel::XpsObject
int32_t get_Id () const
 
System::String get_RawValue () const
 Raw value of a property, i.e. the string attribute value More...
 
void set_RawValue (System::String value)
 Raw value of a property, i.e. the string attribute value More...
 
void set_xKey (System::String value)
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< XpsObject > > > get_Owners ()
 
 XpsObject (System::SharedPtr< XpsContext > context)
 
virtual ASPOSE_PAGE_SHARED_API void Load ()
 
- Protected Member Functions inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >
 ~IEnumerable () override
 Destructor. More...
 
virtualized_iteratorGetEnumeratorAsVirtualizedIterator ()
 
virtualized_iteratorGetEnumeratorAsVirtualizedIterator () const
 

Additional Inherited Members

- Public Types inherited from Aspose::Page::XPS::XpsModel::XpsElement
using iterator_holder_type = System::Collections::Generic::List< System::SharedPtr< XpsContentElement > >
 A collection type whose iterator types is used as iterator types in the current collection. More...
 
using iterator = typename iterator_holder_type::iterator
 Iterator type. More...
 
using const_iterator = typename iterator_holder_type::const_iterator
 Const iterator type. More...
 
using virtualized_iterator_element = typename iterator_holder_type::virtualized_iterator_element
 Virtualized element type. More...
 
using virtualized_iterator = typename iterator_holder_type::virtualized_iterator
 Virtualized type. More...
 
- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
- Public Types inherited from System::Collections::Generic::IEnumerable< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >
typedef IEnumerator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > > IEnumeratorType
 Enumerator type. More...
 
using ValueType = System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >
 
using iterator = System::Details::VirtualizedIterator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >
 Iterator type. More...
 
using const_iterator = System::Details::VirtualizedConstIterator< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >
 Const iterator type. More...
 
using virtualized_iterator = System::Details::VirtualizedIteratorBase< System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement > >
 Inner iterator base type. More...
 
using virtualized_iterator_element = System::SharedPtr< Aspose::Page::XPS::XpsModel::XpsContentElement >
 Inner iterator element 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...
 
- Protected Attributes inherited from Aspose::Page::XPS::XpsModel::XpsElement
System::String _name
 
- Protected Attributes inherited from Aspose::Page::XPS::XpsModel::XpsObject
System::WeakPtr< XpsContext_context
 

Detailed Description

Class incapsulating Path element features. This element is the sole means of adding vector graphics and images to a fixed page. It defines a single vector graphic to be rendered on a page.

Constructor & Destructor Documentation

◆ XpsPath() [1/3]

Aspose::Page::XPS::XpsModel::XpsPath::XpsPath ( System::SharedPtr< XpsContext context,
System::SharedPtr< XpsPathGeometry data 
)
protected

◆ XpsPath() [2/3]

Aspose::Page::XPS::XpsModel::XpsPath::XpsPath ( System::SharedPtr< XpsContext context,
int32_t  elementId = -1 
)
protected

◆ XpsPath() [3/3]

Aspose::Page::XPS::XpsModel::XpsPath::XpsPath ( System::SharedPtr< System::Xml::XmlElement element,
System::SharedPtr< XpsElement parent,
int32_t  elementId = -1 
)
protected

◆ ~XpsPath()

virtual ASPOSE_PAGE_SHARED_API Aspose::Page::XPS::XpsModel::XpsPath::~XpsPath ( )
protectedvirtual

Member Function Documentation

◆ Accept()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::Accept ( System::SharedPtr< XpsDocumentVisitor visitor)
overrideprotectedvirtual

◆ AcceptProperties()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::AcceptProperties ( System::SharedPtr< XpsDocumentVisitor visitor)
overrideprotectedvirtual

◆ Clone() [1/2]

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsPath> Aspose::Page::XPS::XpsModel::XpsPath::Clone ( )

Clones this path.

Returns
Clone this path.

◆ Clone() [2/2]

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsElement> Aspose::Page::XPS::XpsModel::XpsPath::Clone ( bool  deep,
System::SharedPtr< XpsContext context,
System::SharedPtr< XpsElement parent,
int32_t  index 
)
overrideprotectedvirtual

◆ ClonePropertyValues()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::ClonePropertyValues ( System::SharedPtr< XpsObject obj)
overrideprotectedvirtual

◆ CopyPropertyValues()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::CopyPropertyValues ( System::SharedPtr< XpsObject obj)
overrideprotectedvirtual

◆ CopySimplePropertyValues()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::CopySimplePropertyValues ( System::SharedPtr< XpsObject obj)
overrideprotectedvirtual

◆ Dispose()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::Dispose ( )
overrideprotectedvirtual

◆ get_Data()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsPathGeometry> Aspose::Page::XPS::XpsModel::XpsPath::get_Data ( )

Returns/sets the geometry of the path.

◆ get_Fill()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsBrush> Aspose::Page::XPS::XpsModel::XpsPath::get_Fill ( )

Returns/sets the brush used to paint the geometry specified by the Data property of the path.

◆ get_RawData()

System::String Aspose::Page::XPS::XpsModel::XpsPath::get_RawData ( )
protected

◆ get_Stroke()

ASPOSE_PAGE_SHARED_API System::SharedPtr<XpsBrush> Aspose::Page::XPS::XpsModel::XpsPath::get_Stroke ( )

Returns/sets the brush used to draw the stroke.

◆ get_StrokeDashArray()

ASPOSE_PAGE_SHARED_API System::ArrayPtr<float> Aspose::Page::XPS::XpsModel::XpsPath::get_StrokeDashArray ( ) const

Returns/sets the array specifying the length of dashes and gaps of the outline stroke.

◆ get_StrokeDashCap()

ASPOSE_PAGE_SHARED_API XpsDashCap Aspose::Page::XPS::XpsModel::XpsPath::get_StrokeDashCap ( ) const

Returns/sets the value specifying how the ends of each dash are drawn.

◆ get_StrokeDashOffset()

ASPOSE_PAGE_SHARED_API float Aspose::Page::XPS::XpsModel::XpsPath::get_StrokeDashOffset ( ) const

Returns/sets the start point for repeating the dash array pattern. If this value is omitted, the dash array aligns with the origin of the stroke.

◆ get_StrokeEndLineCap()

ASPOSE_PAGE_SHARED_API XpsLineCap Aspose::Page::XPS::XpsModel::XpsPath::get_StrokeEndLineCap ( ) const

Returns/sets the value defining the shape of the end of the last dash in a stroke.

◆ get_StrokeLineJoin()

ASPOSE_PAGE_SHARED_API XpsLineJoin Aspose::Page::XPS::XpsModel::XpsPath::get_StrokeLineJoin ( ) const

Returns/sets the value defining the shape of the beginning of the first dash in a stroke.

◆ get_StrokeMiterLimit()

ASPOSE_PAGE_SHARED_API float Aspose::Page::XPS::XpsModel::XpsPath::get_StrokeMiterLimit ( ) const

Returns/sets the ratio between the maximum miter length and half of the stroke thickness. This value is significant only if the StrokeLineJoin attribute specifies Miter.

◆ get_StrokeStartLineCap()

ASPOSE_PAGE_SHARED_API XpsLineCap Aspose::Page::XPS::XpsModel::XpsPath::get_StrokeStartLineCap ( ) const

Returns/sets the value defining the shape of the beginning of the first dash in a stroke.

◆ get_StrokeThickness()

ASPOSE_PAGE_SHARED_API float Aspose::Page::XPS::XpsModel::XpsPath::get_StrokeThickness ( ) const

Returns/sets the thickness of a stroke, in units of the effective coordinate space (includes the path's render transform). The stroke is drawn on top of the boundary of the geometry specified by the Path element’s Data property. Half of the StrokeThickness extends outside of the geometry specified by the Data property and the other half extends inside of the geometry.

◆ Initialize()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::Initialize ( System::SharedPtr< System::Xml::XmlElement element)
overrideprotectedvirtual

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [1/3]

Aspose::Page::XPS::XpsModel::XpsPath::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( XpsPath  ,
CODEPORTING_ARGS(System::SharedPtr< XpsContext > context, System::SharedPtr< XpsPathGeometry > data)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [2/3]

Aspose::Page::XPS::XpsModel::XpsPath::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( XpsPath  ,
CODEPORTING_ARGS(System::SharedPtr< XpsContext > context, int32_t elementId=-1)   
)
protected

◆ MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION() [3/3]

Aspose::Page::XPS::XpsModel::XpsPath::MEMBER_FUNCTION_MAKE_OBJECT_DECLARATION ( XpsPath  ,
CODEPORTING_ARGS(System::SharedPtr< System::Xml::XmlElement > element, System::SharedPtr< XpsElement > parent, int32_t elementId=-1)   
)
protected

◆ NotifyDescendants()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::NotifyDescendants ( bool  isAdd = true)
overrideprotectedvirtual

◆ set_Data()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_Data ( System::SharedPtr< XpsPathGeometry value)

Returns/sets the geometry of the path.

◆ set_Fill()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_Fill ( System::SharedPtr< XpsBrush value)

Returns/sets the brush used to paint the geometry specified by the Data property of the path.

◆ set_Stroke()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_Stroke ( System::SharedPtr< XpsBrush value)

Returns/sets the brush used to draw the stroke.

◆ set_StrokeDashArray()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_StrokeDashArray ( System::ArrayPtr< float >  value)

Returns/sets the array specifying the length of dashes and gaps of the outline stroke.

◆ set_StrokeDashCap()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_StrokeDashCap ( XpsDashCap  value)

Returns/sets the value specifying how the ends of each dash are drawn.

◆ set_StrokeDashOffset()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_StrokeDashOffset ( float  value)

Returns/sets the start point for repeating the dash array pattern. If this value is omitted, the dash array aligns with the origin of the stroke.

◆ set_StrokeEndLineCap()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_StrokeEndLineCap ( XpsLineCap  value)

Returns/sets the value defining the shape of the end of the last dash in a stroke.

◆ set_StrokeLineJoin()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_StrokeLineJoin ( XpsLineJoin  value)

Returns/sets the value defining the shape of the beginning of the first dash in a stroke.

◆ set_StrokeMiterLimit()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_StrokeMiterLimit ( float  value)

Returns/sets the ratio between the maximum miter length and half of the stroke thickness. This value is significant only if the StrokeLineJoin attribute specifies Miter.

◆ set_StrokeStartLineCap()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_StrokeStartLineCap ( XpsLineCap  value)

Returns/sets the value defining the shape of the beginning of the first dash in a stroke.

◆ set_StrokeThickness()

ASPOSE_PAGE_SHARED_API void Aspose::Page::XPS::XpsModel::XpsPath::set_StrokeThickness ( float  value)

Returns/sets the thickness of a stroke, in units of the effective coordinate space (includes the path's render transform). The stroke is drawn on top of the boundary of the geometry specified by the Path element’s Data property. Half of the StrokeThickness extends outside of the geometry specified by the Data property and the other half extends inside of the geometry.