aspose-html-net 24.7.0__py3-none-win32.whl → 24.8.0__py3-none-win32.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (57) hide show
  1. aspose/__init__.py +75 -132
  2. aspose/assemblies/html/Aspose.HTML.dll +0 -0
  3. aspose/assemblies/html/WrpInterop.Aspose.Html.dll +0 -0
  4. aspose/assemblies/pycore/WrpInterop.Aspose.PyCore.dll +0 -0
  5. aspose/assemblies/pydrawing/WrpInterop.Aspose.PyDrawing.dll +0 -0
  6. aspose/assemblies/pygc/Aspose.PyGC.dll +0 -0
  7. aspose/assemblies/pyreflection/WrpInterop.Aspose.PyReflection.dll +0 -0
  8. aspose/html/__nuitka/__init__.pyi +1 -0
  9. aspose/html/__nuitka/aspose-html.nuitka-package.config.yml +19 -0
  10. aspose/html/drawing/__init__.pyi +511 -35
  11. aspose/html/rendering/__init__.pyi +69 -73
  12. aspose/html/rendering/doc/__init__.pyi +5 -5
  13. aspose/html/rendering/image/__init__.pyi +19 -88
  14. aspose/html/rendering/pdf/__init__.pyi +18 -88
  15. aspose/html/rendering/xps/__init__.pyi +21 -89
  16. aspose/html/toolkit/markdown/syntax/__init__.pyi +1 -1
  17. aspose/html.cp310-win32.pyd +0 -0
  18. aspose/html.cp311-win32.pyd +0 -0
  19. aspose/html.cp35-win32.pyd +0 -0
  20. aspose/html.cp36-win32.pyd +0 -0
  21. aspose/html.cp37-win32.pyd +0 -0
  22. aspose/html.cp38-win32.pyd +0 -0
  23. aspose/html.cp39-win32.pyd +0 -0
  24. aspose/netcore/netcore3.1/aspose.embed.coreclrwrap.dll +0 -0
  25. aspose/pycore.cp310-win32.pyd +0 -0
  26. aspose/pycore.cp311-win32.pyd +0 -0
  27. aspose/pycore.cp35-win32.pyd +0 -0
  28. aspose/pycore.cp36-win32.pyd +0 -0
  29. aspose/pycore.cp37-win32.pyd +0 -0
  30. aspose/pycore.cp38-win32.pyd +0 -0
  31. aspose/pycore.cp39-win32.pyd +0 -0
  32. aspose/pydrawing.cp310-win32.pyd +0 -0
  33. aspose/pydrawing.cp311-win32.pyd +0 -0
  34. aspose/pydrawing.cp35-win32.pyd +0 -0
  35. aspose/pydrawing.cp36-win32.pyd +0 -0
  36. aspose/pydrawing.cp37-win32.pyd +0 -0
  37. aspose/pydrawing.cp38-win32.pyd +0 -0
  38. aspose/pydrawing.cp39-win32.pyd +0 -0
  39. aspose/pygc.cp310-win32.pyd +0 -0
  40. aspose/pygc.cp311-win32.pyd +0 -0
  41. aspose/pygc.cp35-win32.pyd +0 -0
  42. aspose/pygc.cp36-win32.pyd +0 -0
  43. aspose/pygc.cp37-win32.pyd +0 -0
  44. aspose/pygc.cp38-win32.pyd +0 -0
  45. aspose/pygc.cp39-win32.pyd +0 -0
  46. aspose/pyreflection.cp310-win32.pyd +0 -0
  47. aspose/pyreflection.cp311-win32.pyd +0 -0
  48. aspose/pyreflection.cp35-win32.pyd +0 -0
  49. aspose/pyreflection.cp36-win32.pyd +0 -0
  50. aspose/pyreflection.cp37-win32.pyd +0 -0
  51. aspose/pyreflection.cp38-win32.pyd +0 -0
  52. aspose/pyreflection.cp39-win32.pyd +0 -0
  53. {aspose_html_net-24.7.0.dist-info → aspose_html_net-24.8.0.dist-info}/METADATA +2 -2
  54. {aspose_html_net-24.7.0.dist-info → aspose_html_net-24.8.0.dist-info}/RECORD +57 -55
  55. {aspose_html_net-24.7.0.dist-info → aspose_html_net-24.8.0.dist-info}/WHEEL +0 -0
  56. {aspose_html_net-24.7.0.dist-info → aspose_html_net-24.8.0.dist-info}/entry_points.txt +0 -0
  57. {aspose_html_net-24.7.0.dist-info → aspose_html_net-24.8.0.dist-info}/top_level.txt +0 -0
@@ -149,7 +149,7 @@ class GraphicContext:
149
149
  '''Holds current graphics control parameters.
150
150
  These parameters define the global framework within which the graphics operators execute.'''
151
151
 
152
- def transform(self, matrix : aspose.pydrawing.drawing2d.Matrix):
152
+ def transform(self, matrix : aspose.html.drawing.IMatrix):
153
153
  '''Modify the current transformation matrix by multiplying the specified matrix.
154
154
 
155
155
  :param matrix: Transformation matrix.'''
@@ -162,11 +162,11 @@ class GraphicContext:
162
162
  ...
163
163
 
164
164
  @property
165
- def line_cap(self) -> aspose.pydrawing.drawing2d.LineCap:
165
+ def line_cap(self) -> aspose.html.rendering.StrokeLineCap:
166
166
  ...
167
167
 
168
168
  @line_cap.setter
169
- def line_cap(self, value : aspose.pydrawing.drawing2d.LineCap):
169
+ def line_cap(self, value : aspose.html.rendering.StrokeLineCap):
170
170
  ...
171
171
 
172
172
  @property
@@ -186,19 +186,11 @@ class GraphicContext:
186
186
  ...
187
187
 
188
188
  @property
189
- def line_dash_style(self) -> aspose.pydrawing.drawing2d.DashStyle:
190
- ...
191
-
192
- @line_dash_style.setter
193
- def line_dash_style(self, value : aspose.pydrawing.drawing2d.DashStyle):
194
- ...
195
-
196
- @property
197
- def line_join(self) -> aspose.pydrawing.drawing2d.LineJoin:
189
+ def line_join(self) -> aspose.html.rendering.StrokeLineJoin:
198
190
  ...
199
191
 
200
192
  @line_join.setter
201
- def line_join(self, value : aspose.pydrawing.drawing2d.LineJoin):
193
+ def line_join(self, value : aspose.html.rendering.StrokeLineJoin):
202
194
  ...
203
195
 
204
196
  @property
@@ -268,11 +260,11 @@ class GraphicContext:
268
260
  ...
269
261
 
270
262
  @property
271
- def transformation_matrix(self) -> aspose.pydrawing.drawing2d.Matrix:
263
+ def transformation_matrix(self) -> aspose.html.drawing.IMatrix:
272
264
  ...
273
265
 
274
266
  @transformation_matrix.setter
275
- def transformation_matrix(self, value : aspose.pydrawing.drawing2d.Matrix):
267
+ def transformation_matrix(self, value : aspose.html.drawing.IMatrix):
276
268
  ...
277
269
 
278
270
  @property
@@ -397,27 +389,27 @@ class IDevice:
397
389
  This method terminates current path.'''
398
390
  ...
399
391
 
400
- def fill(self, mode : aspose.pydrawing.drawing2d.FillMode):
392
+ def fill(self, rule : aspose.html.rendering.FillRule):
401
393
  '''Fills the entire region enclosed by the current path.
402
394
  If the path consists of several disconnected subpaths, it fills the insides of all subpaths,
403
395
  considered together.
404
396
  This method terminates current path.
405
397
 
406
- :param mode: Filling mode specifies how the interior of a closed path is filled'''
398
+ :param rule: Filling rule specifies how the interior of a closed path is filled'''
407
399
  ...
408
400
 
409
- def clip(self, mode : aspose.pydrawing.drawing2d.FillMode):
410
- '''Modifies the current clipping path by intersecting it with the current path, using the FillMode rule to determine the region to fill.
401
+ def clip(self, rule : aspose.html.rendering.FillRule):
402
+ '''Modifies the current clipping path by intersecting it with the current path, using the FillRule to determine the region to fill.
411
403
  This method terminates current path.
412
404
 
413
- :param mode: Filling mode specifies how the interior of a closed path is clipped'''
405
+ :param rule: Filling rule specifies how the interior of a closed path is clipped'''
414
406
  ...
415
407
 
416
- def stroke_and_fill(self, mode : aspose.pydrawing.drawing2d.FillMode):
408
+ def stroke_and_fill(self, rule : aspose.html.rendering.FillRule):
417
409
  '''Strokes and fill current path.
418
410
  This method terminates current path.
419
411
 
420
- :param mode: Filling mode specifies how the interior of a closed path is filled.'''
412
+ :param rule: Filling rule specifies how the interior of a closed path is filled.'''
421
413
  ...
422
414
 
423
415
  def fill_text(self, text : str, pt : aspose.pydrawing.PointF):
@@ -434,12 +426,12 @@ class IDevice:
434
426
  :param pt: Point that specifies the coordinates where to start the text.'''
435
427
  ...
436
428
 
437
- def draw_image(self, data : bytes, type : aspose.html.rendering.ImageType, rect : aspose.pydrawing.RectangleF):
429
+ def draw_image(self, data : bytes, image_format : aspose.html.drawing.WebImageFormat, rect : aspose.pydrawing.RectangleF):
438
430
  '''Draws the specified image.
439
431
 
440
432
  :param data: An array of bytes representing the image.
441
- :param type: Image type.
442
- :param rect: A rectangel which determines position and size to draw.'''
433
+ :param image_format: Image format.
434
+ :param rect: A rectangle which determines position and size to draw.'''
443
435
  ...
444
436
 
445
437
  def flush(self):
@@ -665,61 +657,19 @@ class AtPagePriority:
665
657
 
666
658
  ...
667
659
 
668
- class ImageType:
669
- '''Specifies the file format of the image'''
670
-
671
- @classmethod
672
- @property
673
- def UNKNOWN(cls) -> ImageType:
674
- '''Image format was not recognized.'''
675
- ...
676
-
677
- @classmethod
678
- @property
679
- def BMP(cls) -> ImageType:
680
- '''Gets the bitmap (BMP) image format.'''
681
- ...
682
-
683
- @classmethod
684
- @property
685
- def EMF(cls) -> ImageType:
686
- '''Gets the enhanced metafile (EMF) image format.'''
687
- ...
688
-
689
- @classmethod
690
- @property
691
- def GIF(cls) -> ImageType:
692
- '''Gets the Graphics Interchange Format (GIF) image format.'''
693
- ...
694
-
695
- @classmethod
696
- @property
697
- def ICON(cls) -> ImageType:
698
- '''Gets the Windows icon image format.'''
699
- ...
700
-
701
- @classmethod
702
- @property
703
- def JPEG(cls) -> ImageType:
704
- '''Gets the Joint Photographic Experts Group (JPEG) image format.'''
705
- ...
660
+ class FillRule:
661
+ '''Specifies the fill rule used in rendering SVG and HTML.'''
706
662
 
707
663
  @classmethod
708
664
  @property
709
- def PNG(cls) -> ImageType:
710
- '''Gets the W3C Portable Network Graphics (PNG) image format.'''
665
+ def EVEN_ODD(cls) -> FillRule:
666
+ '''Determines the fill area using the even-odd rule. The behavior corresponds to System.Drawing.Drawing2D.FillMode.Alternate.'''
711
667
  ...
712
668
 
713
669
  @classmethod
714
670
  @property
715
- def TIFF(cls) -> ImageType:
716
- '''Gets the Tagged Image File Format (TIFF) image format.'''
717
- ...
718
-
719
- @classmethod
720
- @property
721
- def WMF(cls) -> ImageType:
722
- '''Gets the Windows metafile (WMF) image format.'''
671
+ def NONZERO(cls) -> FillRule:
672
+ '''Determines the fill area using the non-zero rule. The behavior corresponds to System.Drawing.Drawing2D.FillMode.Winding.'''
723
673
  ...
724
674
 
725
675
  ...
@@ -795,3 +745,49 @@ class PageLayoutOptions:
795
745
 
796
746
  ...
797
747
 
748
+ class StrokeLineCap:
749
+ '''Specifies the line cap used in rendering SVG and HTML.'''
750
+
751
+ @classmethod
752
+ @property
753
+ def BUTT(cls) -> StrokeLineCap:
754
+ '''The stroke ends with a flat edge.'''
755
+ ...
756
+
757
+ @classmethod
758
+ @property
759
+ def SQUARE(cls) -> StrokeLineCap:
760
+ '''The stroke ends with a square projection beyond the endpoint.'''
761
+ ...
762
+
763
+ @classmethod
764
+ @property
765
+ def ROUND(cls) -> StrokeLineCap:
766
+ '''The stroke ends with a rounded cap.'''
767
+ ...
768
+
769
+ ...
770
+
771
+ class StrokeLineJoin:
772
+ '''Specifies the line join style used in rendering SVG and HTML.'''
773
+
774
+ @classmethod
775
+ @property
776
+ def MITER(cls) -> StrokeLineJoin:
777
+ '''The line joins with a sharp point, extending beyond the endpoints.'''
778
+ ...
779
+
780
+ @classmethod
781
+ @property
782
+ def ROUND(cls) -> StrokeLineJoin:
783
+ '''The line joins with a rounded corner.'''
784
+ ...
785
+
786
+ @classmethod
787
+ @property
788
+ def BEVEL(cls) -> StrokeLineJoin:
789
+ '''The line joins with a beveled corner.'''
790
+ ...
791
+
792
+ ...
793
+
@@ -96,7 +96,7 @@ class DocDevice(aspose.html.rendering.Device):
96
96
  :param rect: A rectangle to draw.'''
97
97
  ...
98
98
 
99
- def clip(self, mode : aspose.pydrawing.drawing2d.FillMode):
99
+ def clip(self, mode : aspose.html.rendering.FillRule):
100
100
  '''Modifies the current clipping path by intersecting it with the current path, using the FillMode rule to determine the region to fill.
101
101
  This method terminates current path.
102
102
 
@@ -139,14 +139,14 @@ class DocDevice(aspose.html.rendering.Device):
139
139
  This method terminates current path.'''
140
140
  ...
141
141
 
142
- def stroke_and_fill(self, mode : aspose.pydrawing.drawing2d.FillMode):
142
+ def stroke_and_fill(self, mode : aspose.html.rendering.FillRule):
143
143
  '''Strokes and fill current path.
144
144
  This method terminates current path.
145
145
 
146
146
  :param mode: Filling mode specifies how the interior of a closed path is filled.'''
147
147
  ...
148
148
 
149
- def fill(self, mode : aspose.pydrawing.drawing2d.FillMode):
149
+ def fill(self, mode : aspose.html.rendering.FillRule):
150
150
  '''Fills the entire region enclosed by the current path.
151
151
  If the path consists of several disconnected subpaths, it fills the insides of all subpaths,
152
152
  considered together.
@@ -169,11 +169,11 @@ class DocDevice(aspose.html.rendering.Device):
169
169
  :param pt: Point that specifies the coordinates where to start the text.'''
170
170
  ...
171
171
 
172
- def draw_image(self, data : bytes, type : aspose.html.rendering.ImageType, rect : aspose.pydrawing.RectangleF):
172
+ def draw_image(self, data : bytes, image_format : aspose.html.drawing.WebImageFormat, rect : aspose.pydrawing.RectangleF):
173
173
  '''Draws the specified image.
174
174
 
175
175
  :param data: An array of bytes representing the image.
176
- :param type: Image type.
176
+ :param image_format: Image format.
177
177
  :param rect: A rectangel which determines position and size to draw.'''
178
178
  ...
179
179
 
@@ -56,142 +56,67 @@ import aspose.html.window
56
56
  class ImageDevice(aspose.html.rendering.Device):
57
57
  '''Represents rendering to raster formats: jpeg, png, bmp, gif, tiff.'''
58
58
 
59
- def flush(self):
60
- '''Flushes all data to output stream.'''
59
+ def save_graphic_context(self):
60
+ ...
61
+
62
+ def restore_graphic_context(self):
61
63
  ...
62
64
 
63
65
  def begin_document(self, document : aspose.html.dom.Document):
64
- '''Begins rendering of the document.
65
-
66
- :param document: The document.'''
67
66
  ...
68
67
 
69
68
  def end_document(self):
70
- '''Ends rendering of the document.'''
71
69
  ...
72
70
 
73
- def save_graphic_context(self):
74
- '''Pushes a copy of the entire graphics context onto the stack.'''
71
+ def begin_page(self, size : aspose.pydrawing.SizeF):
75
72
  ...
76
73
 
77
- def restore_graphic_context(self):
78
- '''Restores the entire graphics context to its former value by popping it from the stack.'''
74
+ def end_page(self):
75
+ ...
76
+
77
+ def flush(self):
79
78
  ...
80
79
 
81
80
  def begin_element(self, element : aspose.html.dom.Element, rect : aspose.pydrawing.RectangleF) -> bool:
82
- '''Begins rendering of the element.
83
-
84
- :param element: The :py:class:`aspose.html.dom.Element`.
85
- :param rect: Bounding box of the node.
86
- :returns: Returns [true] if element should be processed.'''
87
81
  ...
88
82
 
89
83
  def end_element(self, element : aspose.html.dom.Element):
90
- '''Ends rendering of the element.
91
-
92
- :param element: The :py:class:`aspose.html.dom.Element`.'''
93
84
  ...
94
85
 
95
86
  def close_path(self):
96
- '''Closes the current subpath by appending a straight line segment from the current point to the starting point of the subpath.
97
- If the current subpath is already closed, "ClosePath" does nothing.
98
- This operator terminates the current subpath. Appending another segment to the current path begins a new subpath,
99
- even if the new segment begins at the endpoint reached by the "ClosePath" method.'''
100
87
  ...
101
88
 
102
89
  def move_to(self, pt : aspose.pydrawing.PointF):
103
- '''Begins a new subpath by moving the current point to coordinates of the parameter pt, omitting any connecting line segment.
104
- If the previous path construction method in the current path was also "MoveTo", the new "MoveTo" overrides it;
105
- no vestige of the previous "MoveTo" operation remains in the path.
106
-
107
- :param pt: Point of where to move the path to.'''
108
90
  ...
109
91
 
110
92
  def line_to(self, pt : aspose.pydrawing.PointF):
111
- '''Appends a straight line segment from the current point to the point (pt). The new current point is pt.
112
-
113
- :param pt: Point of where to create the line to.'''
114
93
  ...
115
94
 
116
95
  def add_rect(self, rect : aspose.pydrawing.RectangleF):
117
- '''Appends a rectangle to the current path as a complete subpath.
118
-
119
- :param rect: A rectangle to draw.'''
120
96
  ...
121
97
 
122
98
  def cubic_bezier_to(self, pt1 : aspose.pydrawing.PointF, pt2 : aspose.pydrawing.PointF, pt3 : aspose.pydrawing.PointF):
123
- '''Appends a cubic Bézier curve to the current path. The curve extends from the current point to the point pt2,
124
- using pt1 and pt2 as the Bézier control points. The new current point is pt3.
125
-
126
- :param pt1: Coordinates of first point
127
- :param pt2: Coordinates of second point
128
- :param pt3: Coordinates of third point'''
129
99
  ...
130
100
 
131
101
  def stroke(self):
132
- '''Strokes a line along the current path. The stroked line follows each straight or curved segment in the path,
133
- centered on the segment with sides parallel to it. Each of the path’s subpaths is treated separately.
134
- This method terminates current path.'''
135
102
  ...
136
103
 
137
- def fill(self, mode : aspose.pydrawing.drawing2d.FillMode):
138
- '''Fills the entire region enclosed by the current path.
139
- If the path consists of several disconnected subpaths, it fills the insides of all subpaths,
140
- considered together.
141
- This method terminates current path.
142
-
143
- :param mode: Filling mode specifies how the interior of a closed path is filled'''
104
+ def fill(self, rule : aspose.html.rendering.FillRule):
144
105
  ...
145
106
 
146
- def clip(self, mode : aspose.pydrawing.drawing2d.FillMode):
147
- '''Modifies the current clipping path by intersecting it with the current path, using the FillMode rule to determine the region to fill.
148
- This method terminates current path.
149
-
150
- :param mode: Filling mode specifies how the interior of a closed path is clipped'''
107
+ def clip(self, rule : aspose.html.rendering.FillRule):
151
108
  ...
152
109
 
153
- def stroke_and_fill(self, mode : aspose.pydrawing.drawing2d.FillMode):
154
- '''Strokes and fill current path.
155
- This method terminates current path.
156
-
157
- :param mode: Filling mode specifies how the interior of a closed path is filled.'''
110
+ def stroke_and_fill(self, rule : aspose.html.rendering.FillRule):
158
111
  ...
159
112
 
160
113
  def fill_text(self, text : str, pt : aspose.pydrawing.PointF):
161
- '''Fills the specified text string at the specified location.
162
-
163
- :param text: String to fill.
164
- :param pt: Point that specifies the coordinates of the text.'''
165
114
  ...
166
115
 
167
116
  def stroke_text(self, text : str, pt : aspose.pydrawing.PointF):
168
- '''Strokes the specified text string at the specified location.
169
-
170
- :param text: String to stroke.
171
- :param pt: Point that specifies the coordinates where to start the text.'''
172
117
  ...
173
118
 
174
- def draw_image(self, data : bytes, type : aspose.html.rendering.ImageType, rect : aspose.pydrawing.RectangleF):
175
- '''Draws the specified image.
176
-
177
- :param data: An array of bytes representing the image.
178
- :param type: Image type.
179
- :param rect: A rectangel which determines position and size to draw.'''
180
- ...
181
-
182
- def begin_page(self, size : aspose.pydrawing.SizeF):
183
- '''Begins rendering of the new page.
184
-
185
- :param size: Size of the page.'''
186
- ...
187
-
188
- def end_page(self):
189
- '''Ends rendering of the current page.'''
190
- ...
191
-
192
- @property
193
- def graphics(self) -> aspose.pydrawing.Graphics:
194
- '''Gets the instance of Graphics.'''
119
+ def draw_image(self, data : bytes, image_format : aspose.html.drawing.WebImageFormat, rect : aspose.pydrawing.RectangleF):
195
120
  ...
196
121
 
197
122
  @property
@@ -356,5 +281,11 @@ class ImageFormat:
356
281
  '''The Tagged Image File Format (TIFF) image format.'''
357
282
  ...
358
283
 
284
+ @classmethod
285
+ @property
286
+ def WEBP(cls) -> ImageFormat:
287
+ '''The Web Picture format (WebP), a modern image format that provides superior lossless and lossy compression for images on the web.'''
288
+ ...
289
+
359
290
  ...
360
291
 
@@ -57,136 +57,66 @@ class PdfDevice(aspose.html.rendering.Device):
57
57
  '''Represents rendering to a pdf document.'''
58
58
 
59
59
  def save_graphic_context(self):
60
- '''Pushes a copy of the entire graphics context onto the stack.'''
61
60
  ...
62
61
 
63
62
  def restore_graphic_context(self):
64
- '''Restores the entire graphics context to its former value by popping it from the stack.'''
65
- ...
66
-
67
- def add_rect(self, rect : aspose.pydrawing.RectangleF):
68
- '''Appends a rectangle to the current path as a complete subpath.
69
-
70
- :param rect: A rectangle to draw.'''
71
63
  ...
72
64
 
73
65
  def begin_document(self, document : aspose.html.dom.Document):
74
- '''Begins rendering of the document.
75
-
76
- :param document: The document.'''
77
66
  ...
78
67
 
79
- def begin_element(self, element : aspose.html.dom.Element, rect : aspose.pydrawing.RectangleF) -> bool:
80
- '''Begins rendering of the element.
81
-
82
- :param element: The :py:class:`aspose.html.dom.Element`.
83
- :param rect: Bounding box of the node.
84
- :returns: Returns [true] if element should be processed.'''
68
+ def end_document(self):
85
69
  ...
86
70
 
87
71
  def begin_page(self, size : aspose.pydrawing.SizeF):
88
- '''Begins rendering of the new page.
89
-
90
- :param size: Size of the page.'''
91
72
  ...
92
73
 
93
- def clip(self, mode : aspose.pydrawing.drawing2d.FillMode):
94
- '''Modifies the current clipping path by intersecting it with the current path, using the FillMode rule to determine the region to fill.
95
- This method terminates current path.
96
-
97
- :param mode: Filling mode specifies how the interior of a closed path is clipped'''
74
+ def end_page(self):
98
75
  ...
99
76
 
100
- def close_path(self):
101
- '''Closes the current subpath by appending a straight line segment from the current point to the starting point of the subpath.
102
- If the current subpath is already closed, "ClosePath" does nothing.
103
- This operator terminates the current subpath. Appending another segment to the current path begins a new subpath,
104
- even if the new segment begins at the endpoint reached by the "ClosePath" method.'''
77
+ def flush(self):
105
78
  ...
106
79
 
107
- def cubic_bezier_to(self, pt1 : aspose.pydrawing.PointF, pt2 : aspose.pydrawing.PointF, pt3 : aspose.pydrawing.PointF):
108
- '''Appends a cubic Bézier curve to the current path. The curve extends from the current point to the point pt2,
109
- using pt1 and pt2 as the Bézier control points. The new current point is pt3.
110
-
111
- :param pt1: Coordinates of first point
112
- :param pt2: Coordinates of second point
113
- :param pt3: Coordinates of third point'''
80
+ def begin_element(self, element : aspose.html.dom.Element, rect : aspose.pydrawing.RectangleF) -> bool:
114
81
  ...
115
82
 
116
- def draw_image(self, data : bytes, type : aspose.html.rendering.ImageType, rect : aspose.pydrawing.RectangleF):
117
- '''Draws the specified image.
118
-
119
- :param data: An array of bytes representing the image.
120
- :param type: Image type.
121
- :param rect: A rectangel which determines position and size to draw.'''
83
+ def end_element(self, element : aspose.html.dom.Element):
122
84
  ...
123
85
 
124
- def end_document(self):
125
- '''Ends rendering of the document.'''
86
+ def close_path(self):
126
87
  ...
127
88
 
128
- def flush(self):
129
- '''Flushes all data to output stream.'''
89
+ def move_to(self, pt : aspose.pydrawing.PointF):
130
90
  ...
131
91
 
132
- def end_element(self, element : aspose.html.dom.Element):
133
- '''Ends rendering of the element.
134
-
135
- :param element: The :py:class:`aspose.html.dom.Element`.'''
92
+ def line_to(self, pt : aspose.pydrawing.PointF):
136
93
  ...
137
94
 
138
- def end_page(self):
139
- '''Ends rendering of the current page.'''
95
+ def add_rect(self, rect : aspose.pydrawing.RectangleF):
140
96
  ...
141
97
 
142
- def fill(self, mode : aspose.pydrawing.drawing2d.FillMode):
143
- '''Fills the entire region enclosed by the current path.
144
- If the path consists of several disconnected subpaths, it fills the insides of all subpaths,
145
- considered together.
146
- This method terminates current path.
147
-
148
- :param mode: Filling mode specifies how the interior of a closed path is filled'''
98
+ def cubic_bezier_to(self, pt1 : aspose.pydrawing.PointF, pt2 : aspose.pydrawing.PointF, pt3 : aspose.pydrawing.PointF):
149
99
  ...
150
100
 
151
- def fill_text(self, text : str, pt : aspose.pydrawing.PointF):
152
- '''Fills the specified text string at the specified location.
153
-
154
- :param text: String to fill.
155
- :param pt: Point that specifies the coordinates of the text.'''
101
+ def stroke(self):
156
102
  ...
157
103
 
158
- def line_to(self, pt : aspose.pydrawing.PointF):
159
- '''Appends a straight line segment from the current point to the point (pt). The new current point is pt.
160
-
161
- :param pt: Point of where to create the line to.'''
104
+ def fill(self, rule : aspose.html.rendering.FillRule):
162
105
  ...
163
106
 
164
- def move_to(self, pt : aspose.pydrawing.PointF):
165
- '''Begins a new subpath by moving the current point to coordinates of the parameter pt, omitting any connecting line segment.
166
- If the previous path construction method in the current path was also "MoveTo", the new "MoveTo" overrides it;
167
- no vestige of the previous "MoveTo" operation remains in the path.
168
-
169
- :param pt: Point of where to move the path to.'''
107
+ def clip(self, rule : aspose.html.rendering.FillRule):
170
108
  ...
171
109
 
172
- def stroke(self):
173
- '''Strokes a line along the current path. The stroked line follows each straight or curved segment in the path,
174
- centered on the segment with sides parallel to it. Each of the path’s subpaths is treated separately.
175
- This method terminates current path.'''
110
+ def stroke_and_fill(self, rule : aspose.html.rendering.FillRule):
176
111
  ...
177
112
 
178
- def stroke_and_fill(self, mode : aspose.pydrawing.drawing2d.FillMode):
179
- '''Strokes and fill current path.
180
- This method terminates current path.
181
-
182
- :param mode: Filling mode specifies how the interior of a closed path is filled.'''
113
+ def fill_text(self, text : str, pt : aspose.pydrawing.PointF):
183
114
  ...
184
115
 
185
116
  def stroke_text(self, text : str, pt : aspose.pydrawing.PointF):
186
- '''Strokes the specified text string at the specified location.
187
-
188
- :param text: String to stroke.
189
- :param pt: Point that specifies the coordinates where to start the text.'''
117
+ ...
118
+
119
+ def draw_image(self, data : bytes, image_format : aspose.html.drawing.WebImageFormat, rect : aspose.pydrawing.RectangleF):
190
120
  ...
191
121
 
192
122
  @property