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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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-win_amd64.pyd +0 -0
  18. aspose/html.cp311-win_amd64.pyd +0 -0
  19. aspose/html.cp35-win_amd64.pyd +0 -0
  20. aspose/html.cp36-win_amd64.pyd +0 -0
  21. aspose/html.cp37-win_amd64.pyd +0 -0
  22. aspose/html.cp38-win_amd64.pyd +0 -0
  23. aspose/html.cp39-win_amd64.pyd +0 -0
  24. aspose/netcore/netcore3.1/aspose.embed.coreclrwrap.dll +0 -0
  25. aspose/pycore.cp310-win_amd64.pyd +0 -0
  26. aspose/pycore.cp311-win_amd64.pyd +0 -0
  27. aspose/pycore.cp35-win_amd64.pyd +0 -0
  28. aspose/pycore.cp36-win_amd64.pyd +0 -0
  29. aspose/pycore.cp37-win_amd64.pyd +0 -0
  30. aspose/pycore.cp38-win_amd64.pyd +0 -0
  31. aspose/pycore.cp39-win_amd64.pyd +0 -0
  32. aspose/pydrawing.cp310-win_amd64.pyd +0 -0
  33. aspose/pydrawing.cp311-win_amd64.pyd +0 -0
  34. aspose/pydrawing.cp35-win_amd64.pyd +0 -0
  35. aspose/pydrawing.cp36-win_amd64.pyd +0 -0
  36. aspose/pydrawing.cp37-win_amd64.pyd +0 -0
  37. aspose/pydrawing.cp38-win_amd64.pyd +0 -0
  38. aspose/pydrawing.cp39-win_amd64.pyd +0 -0
  39. aspose/pygc.cp310-win_amd64.pyd +0 -0
  40. aspose/pygc.cp311-win_amd64.pyd +0 -0
  41. aspose/pygc.cp35-win_amd64.pyd +0 -0
  42. aspose/pygc.cp36-win_amd64.pyd +0 -0
  43. aspose/pygc.cp37-win_amd64.pyd +0 -0
  44. aspose/pygc.cp38-win_amd64.pyd +0 -0
  45. aspose/pygc.cp39-win_amd64.pyd +0 -0
  46. aspose/pyreflection.cp310-win_amd64.pyd +0 -0
  47. aspose/pyreflection.cp311-win_amd64.pyd +0 -0
  48. aspose/pyreflection.cp35-win_amd64.pyd +0 -0
  49. aspose/pyreflection.cp36-win_amd64.pyd +0 -0
  50. aspose/pyreflection.cp37-win_amd64.pyd +0 -0
  51. aspose/pyreflection.cp38-win_amd64.pyd +0 -0
  52. aspose/pyreflection.cp39-win_amd64.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
@@ -1032,7 +1032,7 @@ class IBrush:
1032
1032
 
1033
1033
  @property
1034
1034
  def type(self) -> aspose.html.drawing.BrushType:
1035
- '''Get type of brush;'''
1035
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1036
1036
  ...
1037
1037
 
1038
1038
  ...
@@ -1072,6 +1072,69 @@ class IColorComponents:
1072
1072
 
1073
1073
  ...
1074
1074
 
1075
+ class IDrawingFactory:
1076
+ '''Represents a factory for creating drawing-related objects.'''
1077
+
1078
+ @overload
1079
+ def create_matrix(self, matrix : aspose.html.drawing.IMatrix) -> aspose.html.drawing.IMatrix:
1080
+ '''Creates a new matrix with the same contents as the specified matrix.
1081
+
1082
+ :param matrix: The matrix to copy.
1083
+ :returns: The created :py:class:`aspose.html.drawing.IMatrix`.'''
1084
+ ...
1085
+
1086
+ @overload
1087
+ def create_matrix(self, m11 : float, m12 : float, m21 : float, m22 : float, m31 : float, m32 : float) -> aspose.html.drawing.IMatrix:
1088
+ '''Creates a new matrix with the specified elements.
1089
+
1090
+ :param m11: The value in the first row and first column of the matrix.
1091
+ :param m12: The value in the first row and second column of the matrix.
1092
+ :param m21: The value in the second row and first column of the matrix.
1093
+ :param m22: The value in the second row and second column of the matrix.
1094
+ :param m31: The value in the third row and first column of the matrix.
1095
+ :param m32: The value in the third row and second column of the matrix.
1096
+ :returns: The created :py:class:`aspose.html.drawing.IMatrix`.'''
1097
+ ...
1098
+
1099
+ @overload
1100
+ def create_matrix(self) -> aspose.html.drawing.IMatrix:
1101
+ '''Creates a new identity matrix.
1102
+
1103
+ :returns: The created :py:class:`aspose.html.drawing.IMatrix`.'''
1104
+ ...
1105
+
1106
+ def create_solid_brush(self, color : aspose.pydrawing.Color) -> aspose.html.drawing.ISolidBrush:
1107
+ '''Creates a solid brush with the specified color.
1108
+
1109
+ :param color: The color of the solid brush.
1110
+ :returns: The created :py:class:`aspose.html.drawing.ISolidBrush`.'''
1111
+ ...
1112
+
1113
+ def create_linear_gradient_brush(self, rect : aspose.pydrawing.RectangleF, colors : List[aspose.html.drawing.IInterpolationColor]) -> aspose.html.drawing.ILinearGradientBrush:
1114
+ '''Creates a linear gradient brush with the specified parameters.
1115
+
1116
+ :param rect: The rectangle defining the gradient bounds.
1117
+ :param colors: The interpolation colors for the gradient. See :py:class:`aspose.html.drawing.IInterpolationColor`.
1118
+ :returns: The created :py:class:`aspose.html.drawing.ILinearGradientBrush`.'''
1119
+ ...
1120
+
1121
+ def create_texture_brush(self, image_bytes : bytes) -> aspose.html.drawing.ITextureBrush:
1122
+ '''Creates a texture brush with the specified parameters.
1123
+
1124
+ :param image_bytes: The byte array containing the image data.
1125
+ :returns: The created :py:class:`aspose.html.drawing.ITextureBrush`.'''
1126
+ ...
1127
+
1128
+ def create_interpolation_color(self, color : aspose.pydrawing.Color, position : float) -> aspose.html.drawing.IInterpolationColor:
1129
+ '''Creates an interpolation color with the specified color and position.
1130
+
1131
+ :param color: Represents the color that will be used at the corresponding position of the gradient.
1132
+ :param position: The position, represented as a percentage from 0 to 1, at which the corresponding gradient color will be used.
1133
+ :returns: The created :py:class:`aspose.html.drawing.IInterpolationColor`.'''
1134
+ ...
1135
+
1136
+ ...
1137
+
1075
1138
  class IGradientBrush(ITransformableBrush):
1076
1139
  '''Declare methods for getting common properties of gradient brushes.'''
1077
1140
 
@@ -1079,25 +1142,45 @@ class IGradientBrush(ITransformableBrush):
1079
1142
  def interpolation_colors(self) -> List[aspose.html.drawing.IInterpolationColor]:
1080
1143
  ...
1081
1144
 
1145
+ @interpolation_colors.setter
1146
+ def interpolation_colors(self, value : List[aspose.html.drawing.IInterpolationColor]):
1147
+ ...
1148
+
1082
1149
  @property
1083
1150
  def blend_positions(self) -> List[float]:
1084
1151
  ...
1085
1152
 
1153
+ @blend_positions.setter
1154
+ def blend_positions(self, value : List[float]):
1155
+ ...
1156
+
1086
1157
  @property
1087
1158
  def blend_factors(self) -> List[float]:
1088
1159
  ...
1089
1160
 
1161
+ @blend_factors.setter
1162
+ def blend_factors(self, value : List[float]):
1163
+ ...
1164
+
1090
1165
  @property
1091
- def transformation_matrix(self) -> aspose.pydrawing.drawing2d.Matrix:
1166
+ def transformation_matrix(self) -> aspose.html.drawing.IMatrix:
1167
+ ...
1168
+
1169
+ @transformation_matrix.setter
1170
+ def transformation_matrix(self, value : aspose.html.drawing.IMatrix):
1092
1171
  ...
1093
1172
 
1094
1173
  @property
1095
- def wrap_mode(self) -> aspose.pydrawing.drawing2d.WrapMode:
1174
+ def spread_mode(self) -> aspose.html.drawing.SpreadMode:
1175
+ ...
1176
+
1177
+ @spread_mode.setter
1178
+ def spread_mode(self, value : aspose.html.drawing.SpreadMode):
1096
1179
  ...
1097
1180
 
1098
1181
  @property
1099
1182
  def type(self) -> aspose.html.drawing.BrushType:
1100
- '''Get type of brush;'''
1183
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1101
1184
  ...
1102
1185
 
1103
1186
  ...
@@ -1110,65 +1193,290 @@ class IInterpolationColor:
1110
1193
  '''Get the color that represents the colors to use at corresponding positions along a gradient.'''
1111
1194
  ...
1112
1195
 
1196
+ @color.setter
1197
+ def color(self, value : aspose.pydrawing.Color):
1198
+ '''Get or sets the color that represents the colors to use at corresponding positions along a gradient.'''
1199
+ ...
1200
+
1113
1201
  @property
1114
1202
  def position(self) -> float:
1115
1203
  '''Gets the color position.'''
1116
1204
  ...
1117
1205
 
1206
+ @position.setter
1207
+ def position(self, value : float):
1208
+ '''Sets the color position.'''
1209
+ ...
1210
+
1118
1211
  ...
1119
1212
 
1120
1213
  class ILinearGradientBrush(IGradientBrush):
1121
- '''Defines brush interface with a linear gradient.'''
1214
+ '''Defines an interface for a brush with a linear gradient.'''
1122
1215
 
1123
1216
  @property
1124
1217
  def rect(self) -> aspose.pydrawing.RectangleF:
1125
- '''Get a rectangular region that defines the starting and ending points of the gradient.'''
1218
+ '''Gets the rectangular region that defines the starting and ending points of the gradient.'''
1219
+ ...
1220
+
1221
+ @rect.setter
1222
+ def rect(self, value : aspose.pydrawing.RectangleF):
1223
+ '''Sets the rectangular region that defines the starting and ending points of the gradient.'''
1126
1224
  ...
1127
1225
 
1128
1226
  @property
1129
- def start_color(self) -> aspose.pydrawing.Color:
1227
+ def angle(self) -> float:
1228
+ '''Gets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.'''
1229
+ ...
1230
+
1231
+ @angle.setter
1232
+ def angle(self, value : float):
1233
+ '''Sets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.'''
1130
1234
  ...
1131
1235
 
1132
1236
  @property
1133
- def end_color(self) -> aspose.pydrawing.Color:
1237
+ def interpolation_colors(self) -> List[aspose.html.drawing.IInterpolationColor]:
1238
+ ...
1239
+
1240
+ @interpolation_colors.setter
1241
+ def interpolation_colors(self, value : List[aspose.html.drawing.IInterpolationColor]):
1134
1242
  ...
1135
1243
 
1136
1244
  @property
1137
- def start_point(self) -> aspose.pydrawing.PointF:
1245
+ def blend_positions(self) -> List[float]:
1246
+ ...
1247
+
1248
+ @blend_positions.setter
1249
+ def blend_positions(self, value : List[float]):
1138
1250
  ...
1139
1251
 
1140
1252
  @property
1141
- def end_point(self) -> aspose.pydrawing.PointF:
1253
+ def blend_factors(self) -> List[float]:
1254
+ ...
1255
+
1256
+ @blend_factors.setter
1257
+ def blend_factors(self, value : List[float]):
1142
1258
  ...
1143
1259
 
1144
1260
  @property
1145
- def angle(self) -> float:
1146
- '''Gets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.'''
1261
+ def transformation_matrix(self) -> aspose.html.drawing.IMatrix:
1262
+ ...
1263
+
1264
+ @transformation_matrix.setter
1265
+ def transformation_matrix(self, value : aspose.html.drawing.IMatrix):
1147
1266
  ...
1148
1267
 
1149
1268
  @property
1150
- def interpolation_colors(self) -> List[aspose.html.drawing.IInterpolationColor]:
1269
+ def spread_mode(self) -> aspose.html.drawing.SpreadMode:
1270
+ ...
1271
+
1272
+ @spread_mode.setter
1273
+ def spread_mode(self, value : aspose.html.drawing.SpreadMode):
1151
1274
  ...
1152
1275
 
1153
1276
  @property
1154
- def blend_positions(self) -> List[float]:
1277
+ def type(self) -> aspose.html.drawing.BrushType:
1278
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1279
+ ...
1280
+
1281
+ ...
1282
+
1283
+ class IMatrix:
1284
+ '''Represents a matrix used for transformations.'''
1285
+
1286
+ @overload
1287
+ def scale(self, scale_x : float, scale_y : float, order : aspose.html.drawing.WebMatrixOrder):
1288
+ '''Scales the matrix by the specified scale factors in the specified order.
1289
+
1290
+ :param scale_x: The scale factor along the x-axis.
1291
+ :param scale_y: The scale factor along the y-axis.
1292
+ :param order: The order in which scaling is applied.'''
1293
+ ...
1294
+
1295
+ @overload
1296
+ def scale(self, scale_x : float, scale_y : float):
1297
+ '''Scales the matrix by the specified scale factors uniformly.
1298
+
1299
+ :param scale_x: The uniform scale factor.
1300
+ :param scale_y: The uniform scale factor.'''
1301
+ ...
1302
+
1303
+ @overload
1304
+ def translate(self, offset_x : float, offset_y : float, order : aspose.html.drawing.WebMatrixOrder):
1305
+ '''Translates the matrix by the specified offset values in the specified order.
1306
+
1307
+ :param offset_x: The offset value along the x-axis.
1308
+ :param offset_y: The offset value along the y-axis.
1309
+ :param order: The order in which translation is applied.'''
1310
+ ...
1311
+
1312
+ @overload
1313
+ def translate(self, offset_x : float, offset_y : float):
1314
+ '''Translates the matrix by the specified offset values.
1315
+
1316
+ :param offset_x: The offset value along the x-axis.
1317
+ :param offset_y: The offset value along the y-axis.'''
1318
+ ...
1319
+
1320
+ @overload
1321
+ def multiply(self, matrix : aspose.html.drawing.IMatrix, order : aspose.html.drawing.WebMatrixOrder):
1322
+ '''Multiplies this matrix by another matrix in the specified order.
1323
+
1324
+ :param matrix: The matrix to multiply by.
1325
+ :param order: The order in which multiplication is applied.'''
1326
+ ...
1327
+
1328
+ @overload
1329
+ def multiply(self, matrix : aspose.html.drawing.IMatrix):
1330
+ '''Multiplies this matrix by another matrix.
1331
+
1332
+ :param matrix: The matrix to multiply by.'''
1333
+ ...
1334
+
1335
+ @overload
1336
+ def rotate(self, angle : float, order : aspose.html.drawing.WebMatrixOrder):
1337
+ '''Rotates the matrix by the specified angle in the specified order.
1338
+
1339
+ :param angle: The angle of rotation in degrees.
1340
+ :param order: The order in which rotation is applied.'''
1341
+ ...
1342
+
1343
+ @overload
1344
+ def rotate(self, angle : float):
1345
+ '''Rotates the matrix by the specified angle.
1346
+
1347
+ :param angle: The angle of rotation in degrees.'''
1348
+ ...
1349
+
1350
+ @overload
1351
+ def rotate_at(self, angle : float, point : aspose.pydrawing.PointF, order : aspose.html.drawing.WebMatrixOrder):
1352
+ '''Rotates the matrix by the specified angle around the specified point in the specified order.
1353
+
1354
+ :param angle: The angle of rotation in degrees.
1355
+ :param point: The point to rotate around.
1356
+ :param order: The order in which rotation is applied.'''
1357
+ ...
1358
+
1359
+ @overload
1360
+ def rotate_at(self, angle : float, point : aspose.pydrawing.PointF):
1361
+ '''Rotates the matrix by the specified angle around the specified point.
1362
+
1363
+ :param angle: The angle of rotation in degrees.
1364
+ :param point: The point to rotate around.'''
1365
+ ...
1366
+
1367
+ def invert(self):
1368
+ '''Inverts this matrix.'''
1369
+ ...
1370
+
1371
+ def get_elements(self) -> List[float]:
1372
+ '''Gets the elements of the matrix as an array.
1373
+
1374
+ :returns: The elements of the matrix.'''
1375
+ ...
1376
+
1377
+ def transform_point(self, point : aspose.pydrawing.PointF) -> aspose.pydrawing.PointF:
1378
+ '''Transforms the specified point using this matrix.
1379
+
1380
+ :param point: The point to transform.
1381
+ :returns: The transformed point.'''
1382
+ ...
1383
+
1384
+ def transform_points(self, points : aspose.pydrawing.PointF[]):
1385
+ '''Transforms an array of points using this matrix.
1386
+
1387
+ :param points: The array of points to transform.'''
1388
+ ...
1389
+
1390
+ def transform_rectangle(self, rect : aspose.pydrawing.RectangleF) -> aspose.pydrawing.RectangleF:
1391
+ '''Transforms the specified rectangle using this matrix.
1392
+
1393
+ :param rect: The rectangle to transform.
1394
+ :returns: The transformed rectangle.'''
1395
+ ...
1396
+
1397
+ def skew(self, skew_x : float, skew_y : float):
1398
+ '''Applies a skew transformation to the matrix.
1399
+
1400
+ :param skew_x: The angle by which to skew in the x-axis direction.
1401
+ :param skew_y: The angle by which to skew in the y-axis direction.'''
1402
+ ...
1403
+
1404
+ def reset(self):
1405
+ '''Resets the matrix to the identity matrix.'''
1406
+ ...
1407
+
1408
+ def clone(self) -> aspose.html.drawing.IMatrix:
1409
+ '''Creates a copy of this matrix.
1410
+
1411
+ :returns: A new instance of :py:class:`aspose.html.drawing.IMatrix` that is a copy of this matrix.'''
1155
1412
  ...
1156
1413
 
1157
1414
  @property
1158
- def blend_factors(self) -> List[float]:
1415
+ def is_identity(self) -> bool:
1416
+ ...
1417
+
1418
+ @property
1419
+ def m11(self) -> float:
1420
+ '''Gets the value in the first row and first column of the matrix.'''
1421
+ ...
1422
+
1423
+ @m11.setter
1424
+ def m11(self, value : float):
1425
+ '''Sets the value in the first row and first column of the matrix.'''
1159
1426
  ...
1160
1427
 
1161
1428
  @property
1162
- def transformation_matrix(self) -> aspose.pydrawing.drawing2d.Matrix:
1429
+ def m12(self) -> float:
1430
+ '''Gets the value in the first row and second column of the matrix.'''
1431
+ ...
1432
+
1433
+ @m12.setter
1434
+ def m12(self, value : float):
1435
+ '''Sets the value in the first row and second column of the matrix.'''
1163
1436
  ...
1164
1437
 
1165
1438
  @property
1166
- def wrap_mode(self) -> aspose.pydrawing.drawing2d.WrapMode:
1439
+ def m21(self) -> float:
1440
+ '''Gets the value in the second row and first column of the matrix.'''
1441
+ ...
1442
+
1443
+ @m21.setter
1444
+ def m21(self, value : float):
1445
+ '''Sets the value in the second row and first column of the matrix.'''
1167
1446
  ...
1168
1447
 
1169
1448
  @property
1170
- def type(self) -> aspose.html.drawing.BrushType:
1171
- '''Get type of brush;'''
1449
+ def m22(self) -> float:
1450
+ '''Gets the value in the second row and second column of the matrix.'''
1451
+ ...
1452
+
1453
+ @m22.setter
1454
+ def m22(self, value : float):
1455
+ '''Sets the value in the second row and second column of the matrix.'''
1456
+ ...
1457
+
1458
+ @property
1459
+ def m31(self) -> float:
1460
+ '''Gets the value in the third row and first column of the matrix.'''
1461
+ ...
1462
+
1463
+ @m31.setter
1464
+ def m31(self, value : float):
1465
+ '''Sets the value in the third row and first column of the matrix.'''
1466
+ ...
1467
+
1468
+ @property
1469
+ def m32(self) -> float:
1470
+ '''Gets the value in the third row and second column of the matrix.'''
1471
+ ...
1472
+
1473
+ @m32.setter
1474
+ def m32(self, value : float):
1475
+ '''Sets the value in the third row and second column of the matrix.'''
1476
+ ...
1477
+
1478
+ @property
1479
+ def is_invertible(self) -> bool:
1172
1480
  ...
1173
1481
 
1174
1482
  ...
@@ -1183,7 +1491,7 @@ class ISolidBrush(IBrush):
1183
1491
 
1184
1492
  @property
1185
1493
  def type(self) -> aspose.html.drawing.BrushType:
1186
- '''Get type of brush;'''
1494
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1187
1495
  ...
1188
1496
 
1189
1497
  ...
@@ -1201,6 +1509,11 @@ class ITextureBrush(ITransformableBrush):
1201
1509
  '''Get opacity value in a color transform matrix.'''
1202
1510
  ...
1203
1511
 
1512
+ @opacity.setter
1513
+ def opacity(self, value : float):
1514
+ '''Get opacity value in a color transform matrix.'''
1515
+ ...
1516
+
1204
1517
  @property
1205
1518
  def image_area(self) -> aspose.pydrawing.RectangleF:
1206
1519
  ...
@@ -1210,16 +1523,24 @@ class ITextureBrush(ITransformableBrush):
1210
1523
  ...
1211
1524
 
1212
1525
  @property
1213
- def transformation_matrix(self) -> aspose.pydrawing.drawing2d.Matrix:
1526
+ def transformation_matrix(self) -> aspose.html.drawing.IMatrix:
1527
+ ...
1528
+
1529
+ @transformation_matrix.setter
1530
+ def transformation_matrix(self, value : aspose.html.drawing.IMatrix):
1214
1531
  ...
1215
1532
 
1216
1533
  @property
1217
- def wrap_mode(self) -> aspose.pydrawing.drawing2d.WrapMode:
1534
+ def spread_mode(self) -> aspose.html.drawing.SpreadMode:
1535
+ ...
1536
+
1537
+ @spread_mode.setter
1538
+ def spread_mode(self, value : aspose.html.drawing.SpreadMode):
1218
1539
  ...
1219
1540
 
1220
1541
  @property
1221
1542
  def type(self) -> aspose.html.drawing.BrushType:
1222
- '''Get type of brush;'''
1543
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1223
1544
  ...
1224
1545
 
1225
1546
  ...
@@ -1228,41 +1549,49 @@ class ITransformableBrush(IBrush):
1228
1549
  '''Desclares methods for getting transformation matrix and wrap mode.'''
1229
1550
 
1230
1551
  @property
1231
- def transformation_matrix(self) -> aspose.pydrawing.drawing2d.Matrix:
1552
+ def transformation_matrix(self) -> aspose.html.drawing.IMatrix:
1553
+ ...
1554
+
1555
+ @transformation_matrix.setter
1556
+ def transformation_matrix(self, value : aspose.html.drawing.IMatrix):
1232
1557
  ...
1233
1558
 
1234
1559
  @property
1235
- def wrap_mode(self) -> aspose.pydrawing.drawing2d.WrapMode:
1560
+ def spread_mode(self) -> aspose.html.drawing.SpreadMode:
1561
+ ...
1562
+
1563
+ @spread_mode.setter
1564
+ def spread_mode(self, value : aspose.html.drawing.SpreadMode):
1236
1565
  ...
1237
1566
 
1238
1567
  @property
1239
1568
  def type(self) -> aspose.html.drawing.BrushType:
1240
- '''Get type of brush;'''
1569
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1241
1570
  ...
1242
1571
 
1243
1572
  ...
1244
1573
 
1245
1574
  class ITrueTypeFont:
1246
- '''Declares methods for working with TrueType font.'''
1575
+ '''Declares methods for working with TrueType fonts.'''
1247
1576
 
1248
1577
  def get_data(self) -> io.RawIOBase:
1249
- '''Open the stream with font data. The caller is responsible for disposing the stream.
1578
+ '''Opens the stream with the font data. The caller is responsible for disposing the stream.
1250
1579
 
1251
- :returns: Stream with the font data'''
1580
+ :returns: The stream with the font data.'''
1252
1581
  ...
1253
1582
 
1254
1583
  def get_descent(self, font_size : float) -> float:
1255
- '''Returns the descent, in points.
1584
+ '''Gets the descent of the font in points using the specified font size.
1256
1585
 
1257
- :param font_size: Size of the font.
1258
- :returns: The descent in points.'''
1586
+ :param font_size: The size of the font.
1587
+ :returns: The descent of the font in points.'''
1259
1588
  ...
1260
1589
 
1261
1590
  def get_ascent(self, font_size : float) -> float:
1262
- '''Returns the ascent, in points.
1591
+ '''Gets the ascent of the font in points using the specified font size.
1263
1592
 
1264
- :param font_size: Size of the font.
1265
- :returns: The ascent in points.'''
1593
+ :param font_size: The size of the font.
1594
+ :returns: The ascent of the font in points.'''
1266
1595
  ...
1267
1596
 
1268
1597
  @property
@@ -2718,3 +3047,150 @@ class ColorModel:
2718
3047
 
2719
3048
  ...
2720
3049
 
3050
+ class SpreadMode:
3051
+ '''Specifies how a texture or gradient is tiled when it is smaller than the area being filled.'''
3052
+
3053
+ @classmethod
3054
+ @property
3055
+ def TILE(cls) -> SpreadMode:
3056
+ '''The texture or gradient is tiled.'''
3057
+ ...
3058
+
3059
+ @classmethod
3060
+ @property
3061
+ def TILE_FLIP_X(cls) -> SpreadMode:
3062
+ '''The texture or gradient is tiled and flipped horizontally.'''
3063
+ ...
3064
+
3065
+ @classmethod
3066
+ @property
3067
+ def TILE_FLIP_Y(cls) -> SpreadMode:
3068
+ '''The texture or gradient is tiled and flipped vertically.'''
3069
+ ...
3070
+
3071
+ @classmethod
3072
+ @property
3073
+ def TILE_FLIP_XY(cls) -> SpreadMode:
3074
+ '''The texture or gradient is tiled and flipped both horizontally and vertically.'''
3075
+ ...
3076
+
3077
+ @classmethod
3078
+ @property
3079
+ def CLAMP(cls) -> SpreadMode:
3080
+ '''The texture or gradient is clamped to the edge.'''
3081
+ ...
3082
+
3083
+ ...
3084
+
3085
+ class WebImageFormat:
3086
+ '''Specifies the supported image formats.'''
3087
+
3088
+ @classmethod
3089
+ @property
3090
+ def BMP(cls) -> WebImageFormat:
3091
+ '''The BMP image format.'''
3092
+ ...
3093
+
3094
+ @classmethod
3095
+ @property
3096
+ def GIF(cls) -> WebImageFormat:
3097
+ '''The GIF image format.'''
3098
+ ...
3099
+
3100
+ @classmethod
3101
+ @property
3102
+ def ICO(cls) -> WebImageFormat:
3103
+ '''The ICO image format.'''
3104
+ ...
3105
+
3106
+ @classmethod
3107
+ @property
3108
+ def JPEG(cls) -> WebImageFormat:
3109
+ '''The JPEG image format.'''
3110
+ ...
3111
+
3112
+ @classmethod
3113
+ @property
3114
+ def PNG(cls) -> WebImageFormat:
3115
+ '''The PNG image format.'''
3116
+ ...
3117
+
3118
+ @classmethod
3119
+ @property
3120
+ def WBMP(cls) -> WebImageFormat:
3121
+ '''The WBMP image format.'''
3122
+ ...
3123
+
3124
+ @classmethod
3125
+ @property
3126
+ def WEBP(cls) -> WebImageFormat:
3127
+ '''The WEBP image format.'''
3128
+ ...
3129
+
3130
+ @classmethod
3131
+ @property
3132
+ def PKM(cls) -> WebImageFormat:
3133
+ '''The PKM image format.'''
3134
+ ...
3135
+
3136
+ @classmethod
3137
+ @property
3138
+ def KTX(cls) -> WebImageFormat:
3139
+ '''The KTX image format.'''
3140
+ ...
3141
+
3142
+ @classmethod
3143
+ @property
3144
+ def ASTC(cls) -> WebImageFormat:
3145
+ '''The ASTC image format.'''
3146
+ ...
3147
+
3148
+ @classmethod
3149
+ @property
3150
+ def DNG(cls) -> WebImageFormat:
3151
+ '''The Adobe DNG image format.'''
3152
+ ...
3153
+
3154
+ @classmethod
3155
+ @property
3156
+ def HEIF(cls) -> WebImageFormat:
3157
+ '''The HEIF or High Efficiency Image File format.'''
3158
+ ...
3159
+
3160
+ @classmethod
3161
+ @property
3162
+ def AVIF(cls) -> WebImageFormat:
3163
+ '''Avif image type.'''
3164
+ ...
3165
+
3166
+ @classmethod
3167
+ @property
3168
+ def TIFF(cls) -> WebImageFormat:
3169
+ '''Tiff image type.'''
3170
+ ...
3171
+
3172
+ @classmethod
3173
+ @property
3174
+ def UNKNOWN(cls) -> WebImageFormat:
3175
+ '''An unknown image type.'''
3176
+ ...
3177
+
3178
+ ...
3179
+
3180
+ class WebMatrixOrder:
3181
+ '''Specifies the order in which matrix transformations are applied.'''
3182
+
3183
+ @classmethod
3184
+ @property
3185
+ def APPEND(cls) -> WebMatrixOrder:
3186
+ '''Specifies that the transformation is appended to the existing transformation.'''
3187
+ ...
3188
+
3189
+ @classmethod
3190
+ @property
3191
+ def PREPEND(cls) -> WebMatrixOrder:
3192
+ '''Specifies that the transformation is prepended to the existing transformation.'''
3193
+ ...
3194
+
3195
+ ...
3196
+