aspose-html-net 24.6.0__py3-none-win_amd64.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (347) hide show
  1. .__pyi_patched +0 -0
  2. aspose/__init__.py +139 -0
  3. aspose/__pyinstaller/__init__.pyi +1 -0
  4. aspose/__pyinstaller/hook-aspose.py +10 -0
  5. aspose/assemblies/html/Aspose.HTML.dll +0 -0
  6. aspose/assemblies/html/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
  7. aspose/assemblies/html/Microsoft.Win32.SystemEvents.dll +0 -0
  8. aspose/assemblies/html/System.Diagnostics.DiagnosticSource.dll +0 -0
  9. aspose/assemblies/html/System.Drawing.Common.dll +0 -0
  10. aspose/assemblies/html/System.Runtime.CompilerServices.Unsafe.dll +0 -0
  11. aspose/assemblies/html/System.Security.AccessControl.dll +0 -0
  12. aspose/assemblies/html/System.Security.Permissions.dll +0 -0
  13. aspose/assemblies/html/System.Security.Principal.Windows.dll +0 -0
  14. aspose/assemblies/html/System.Windows.Extensions.dll +0 -0
  15. aspose/assemblies/html/WrpInterop.Aspose.Html.dll +0 -0
  16. aspose/assemblies/pycore/WrpInterop.Aspose.PyCore.dll +0 -0
  17. aspose/assemblies/pydrawing/Microsoft.Win32.SystemEvents.dll +0 -0
  18. aspose/assemblies/pydrawing/System.Drawing.Common.dll +0 -0
  19. aspose/assemblies/pydrawing/WrpInterop.Aspose.PyDrawing.dll +0 -0
  20. aspose/assemblies/pygc/Aspose.PyGC.dll +0 -0
  21. aspose/assemblies/pyreflection/WrpInterop.Aspose.PyReflection.dll +0 -0
  22. aspose/html/__init__.pyi +40753 -0
  23. aspose/html/__pyinstaller/__init__.pyi +1 -0
  24. aspose/html/__pyinstaller/hook-aspose.html.py +9 -0
  25. aspose/html/accessibility/__init__.pyi +469 -0
  26. aspose/html/accessibility/results/__init__.pyi +106 -0
  27. aspose/html/accessibility/saving/__init__.pyi +78 -0
  28. aspose/html/collections/__init__.pyi +246 -0
  29. aspose/html/converters/__init__.pyi +2793 -0
  30. aspose/html/diagnostics/__init__.pyi +72 -0
  31. aspose/html/dom/__init__.pyi +6456 -0
  32. aspose/html/dom/attributes/__init__.pyi +144 -0
  33. aspose/html/dom/canvas/__init__.pyi +1103 -0
  34. aspose/html/dom/css/__init__.pyi +3487 -0
  35. aspose/html/dom/events/__init__.pyi +1397 -0
  36. aspose/html/dom/mutations/__init__.pyi +259 -0
  37. aspose/html/dom/svg/__init__.pyi +30800 -0
  38. aspose/html/dom/svg/datatypes/__init__.pyi +1247 -0
  39. aspose/html/dom/svg/events/__init__.pyi +279 -0
  40. aspose/html/dom/svg/filters/__init__.pyi +15600 -0
  41. aspose/html/dom/svg/paths/__init__.pyi +3466 -0
  42. aspose/html/dom/svg/saving/__init__.pyi +83 -0
  43. aspose/html/dom/traversal/__init__.pyi +461 -0
  44. aspose/html/dom/traversal/filters/__init__.pyi +200 -0
  45. aspose/html/dom/views/__init__.pyi +79 -0
  46. aspose/html/dom/xpath/__init__.pyi +317 -0
  47. aspose/html/drawing/__init__.pyi +2720 -0
  48. aspose/html/forms/__init__.pyi +998 -0
  49. aspose/html/io/__init__.pyi +219 -0
  50. aspose/html/loading/__init__.pyi +68 -0
  51. aspose/html/net/__init__.pyi +513 -0
  52. aspose/html/net/headers/__init__.pyi +147 -0
  53. aspose/html/net/messagefilters/__init__.pyi +67 -0
  54. aspose/html/net/messagehandlers/__init__.pyi +103 -0
  55. aspose/html/rendering/__init__.pyi +797 -0
  56. aspose/html/rendering/doc/__init__.pyi +282 -0
  57. aspose/html/rendering/fonts/__init__.pyi +90 -0
  58. aspose/html/rendering/image/__init__.pyi +360 -0
  59. aspose/html/rendering/pdf/__init__.pyi +375 -0
  60. aspose/html/rendering/pdf/encryption/__init__.pyi +171 -0
  61. aspose/html/rendering/xps/__init__.pyi +237 -0
  62. aspose/html/saving/__init__.pyi +751 -0
  63. aspose/html/saving/resourcehandlers/__init__.pyi +95 -0
  64. aspose/html/services/__init__.pyi +167 -0
  65. aspose/html/toolkit/__init__.pyi +55 -0
  66. aspose/html/toolkit/markdown/__init__.pyi +55 -0
  67. aspose/html/toolkit/markdown/syntax/__init__.pyi +6184 -0
  68. aspose/html/toolkit/markdown/syntax/extensions/__init__.pyi +549 -0
  69. aspose/html/toolkit/markdown/syntax/parser/__init__.pyi +631 -0
  70. aspose/html/toolkit/markdown/syntax/parser/extensions/__init__.pyi +55 -0
  71. aspose/html/toolkit/markdown/syntax/parser/extensions/gfm/__init__.pyi +66 -0
  72. aspose/html/toolkit/markdown/syntax/text/__init__.pyi +358 -0
  73. aspose/html/toolkit/optimizers/__init__.pyi +233 -0
  74. aspose/html/window/__init__.pyi +490 -0
  75. aspose/html.cp310-win_amd64.pyd +0 -0
  76. aspose/html.cp311-win_amd64.pyd +0 -0
  77. aspose/html.cp35-win_amd64.pyd +0 -0
  78. aspose/html.cp36-win_amd64.pyd +0 -0
  79. aspose/html.cp37-win_amd64.pyd +0 -0
  80. aspose/html.cp38-win_amd64.pyd +0 -0
  81. aspose/html.cp39-win_amd64.pyd +0 -0
  82. aspose/netcore/netcore3.1/Microsoft.CSharp.dll +0 -0
  83. aspose/netcore/netcore3.1/Microsoft.DiaSymReader.Native.amd64.dll +0 -0
  84. aspose/netcore/netcore3.1/Microsoft.VisualBasic.Core.dll +0 -0
  85. aspose/netcore/netcore3.1/Microsoft.VisualBasic.dll +0 -0
  86. aspose/netcore/netcore3.1/Microsoft.Win32.Primitives.dll +0 -0
  87. aspose/netcore/netcore3.1/Microsoft.Win32.Registry.dll +0 -0
  88. aspose/netcore/netcore3.1/SOS_README.md +5 -0
  89. aspose/netcore/netcore3.1/System.AppContext.dll +0 -0
  90. aspose/netcore/netcore3.1/System.Buffers.dll +0 -0
  91. aspose/netcore/netcore3.1/System.Collections.Concurrent.dll +0 -0
  92. aspose/netcore/netcore3.1/System.Collections.Immutable.dll +0 -0
  93. aspose/netcore/netcore3.1/System.Collections.NonGeneric.dll +0 -0
  94. aspose/netcore/netcore3.1/System.Collections.Specialized.dll +0 -0
  95. aspose/netcore/netcore3.1/System.Collections.dll +0 -0
  96. aspose/netcore/netcore3.1/System.ComponentModel.Annotations.dll +0 -0
  97. aspose/netcore/netcore3.1/System.ComponentModel.DataAnnotations.dll +0 -0
  98. aspose/netcore/netcore3.1/System.ComponentModel.EventBasedAsync.dll +0 -0
  99. aspose/netcore/netcore3.1/System.ComponentModel.Primitives.dll +0 -0
  100. aspose/netcore/netcore3.1/System.ComponentModel.TypeConverter.dll +0 -0
  101. aspose/netcore/netcore3.1/System.ComponentModel.dll +0 -0
  102. aspose/netcore/netcore3.1/System.Configuration.dll +0 -0
  103. aspose/netcore/netcore3.1/System.Console.dll +0 -0
  104. aspose/netcore/netcore3.1/System.Core.dll +0 -0
  105. aspose/netcore/netcore3.1/System.Data.Common.dll +0 -0
  106. aspose/netcore/netcore3.1/System.Data.DataSetExtensions.dll +0 -0
  107. aspose/netcore/netcore3.1/System.Data.dll +0 -0
  108. aspose/netcore/netcore3.1/System.Diagnostics.Contracts.dll +0 -0
  109. aspose/netcore/netcore3.1/System.Diagnostics.Debug.dll +0 -0
  110. aspose/netcore/netcore3.1/System.Diagnostics.DiagnosticSource.dll +0 -0
  111. aspose/netcore/netcore3.1/System.Diagnostics.FileVersionInfo.dll +0 -0
  112. aspose/netcore/netcore3.1/System.Diagnostics.Process.dll +0 -0
  113. aspose/netcore/netcore3.1/System.Diagnostics.StackTrace.dll +0 -0
  114. aspose/netcore/netcore3.1/System.Diagnostics.TextWriterTraceListener.dll +0 -0
  115. aspose/netcore/netcore3.1/System.Diagnostics.Tools.dll +0 -0
  116. aspose/netcore/netcore3.1/System.Diagnostics.TraceSource.dll +0 -0
  117. aspose/netcore/netcore3.1/System.Diagnostics.Tracing.dll +0 -0
  118. aspose/netcore/netcore3.1/System.Drawing.Primitives.dll +0 -0
  119. aspose/netcore/netcore3.1/System.Drawing.dll +0 -0
  120. aspose/netcore/netcore3.1/System.Dynamic.Runtime.dll +0 -0
  121. aspose/netcore/netcore3.1/System.Globalization.Calendars.dll +0 -0
  122. aspose/netcore/netcore3.1/System.Globalization.Extensions.dll +0 -0
  123. aspose/netcore/netcore3.1/System.Globalization.dll +0 -0
  124. aspose/netcore/netcore3.1/System.IO.Compression.Brotli.dll +0 -0
  125. aspose/netcore/netcore3.1/System.IO.Compression.FileSystem.dll +0 -0
  126. aspose/netcore/netcore3.1/System.IO.Compression.ZipFile.dll +0 -0
  127. aspose/netcore/netcore3.1/System.IO.Compression.dll +0 -0
  128. aspose/netcore/netcore3.1/System.IO.FileSystem.AccessControl.dll +0 -0
  129. aspose/netcore/netcore3.1/System.IO.FileSystem.DriveInfo.dll +0 -0
  130. aspose/netcore/netcore3.1/System.IO.FileSystem.Primitives.dll +0 -0
  131. aspose/netcore/netcore3.1/System.IO.FileSystem.Watcher.dll +0 -0
  132. aspose/netcore/netcore3.1/System.IO.FileSystem.dll +0 -0
  133. aspose/netcore/netcore3.1/System.IO.IsolatedStorage.dll +0 -0
  134. aspose/netcore/netcore3.1/System.IO.MemoryMappedFiles.dll +0 -0
  135. aspose/netcore/netcore3.1/System.IO.Pipes.AccessControl.dll +0 -0
  136. aspose/netcore/netcore3.1/System.IO.Pipes.dll +0 -0
  137. aspose/netcore/netcore3.1/System.IO.UnmanagedMemoryStream.dll +0 -0
  138. aspose/netcore/netcore3.1/System.IO.dll +0 -0
  139. aspose/netcore/netcore3.1/System.Linq.Expressions.dll +0 -0
  140. aspose/netcore/netcore3.1/System.Linq.Parallel.dll +0 -0
  141. aspose/netcore/netcore3.1/System.Linq.Queryable.dll +0 -0
  142. aspose/netcore/netcore3.1/System.Linq.dll +0 -0
  143. aspose/netcore/netcore3.1/System.Memory.dll +0 -0
  144. aspose/netcore/netcore3.1/System.Net.Http.dll +0 -0
  145. aspose/netcore/netcore3.1/System.Net.HttpListener.dll +0 -0
  146. aspose/netcore/netcore3.1/System.Net.Mail.dll +0 -0
  147. aspose/netcore/netcore3.1/System.Net.NameResolution.dll +0 -0
  148. aspose/netcore/netcore3.1/System.Net.NetworkInformation.dll +0 -0
  149. aspose/netcore/netcore3.1/System.Net.Ping.dll +0 -0
  150. aspose/netcore/netcore3.1/System.Net.Primitives.dll +0 -0
  151. aspose/netcore/netcore3.1/System.Net.Requests.dll +0 -0
  152. aspose/netcore/netcore3.1/System.Net.Security.dll +0 -0
  153. aspose/netcore/netcore3.1/System.Net.ServicePoint.dll +0 -0
  154. aspose/netcore/netcore3.1/System.Net.Sockets.dll +0 -0
  155. aspose/netcore/netcore3.1/System.Net.WebClient.dll +0 -0
  156. aspose/netcore/netcore3.1/System.Net.WebHeaderCollection.dll +0 -0
  157. aspose/netcore/netcore3.1/System.Net.WebProxy.dll +0 -0
  158. aspose/netcore/netcore3.1/System.Net.WebSockets.Client.dll +0 -0
  159. aspose/netcore/netcore3.1/System.Net.WebSockets.dll +0 -0
  160. aspose/netcore/netcore3.1/System.Net.dll +0 -0
  161. aspose/netcore/netcore3.1/System.Numerics.Vectors.dll +0 -0
  162. aspose/netcore/netcore3.1/System.Numerics.dll +0 -0
  163. aspose/netcore/netcore3.1/System.ObjectModel.dll +0 -0
  164. aspose/netcore/netcore3.1/System.Private.CoreLib.dll +0 -0
  165. aspose/netcore/netcore3.1/System.Private.DataContractSerialization.dll +0 -0
  166. aspose/netcore/netcore3.1/System.Private.Uri.dll +0 -0
  167. aspose/netcore/netcore3.1/System.Private.Xml.Linq.dll +0 -0
  168. aspose/netcore/netcore3.1/System.Private.Xml.dll +0 -0
  169. aspose/netcore/netcore3.1/System.Reflection.DispatchProxy.dll +0 -0
  170. aspose/netcore/netcore3.1/System.Reflection.Emit.ILGeneration.dll +0 -0
  171. aspose/netcore/netcore3.1/System.Reflection.Emit.Lightweight.dll +0 -0
  172. aspose/netcore/netcore3.1/System.Reflection.Emit.dll +0 -0
  173. aspose/netcore/netcore3.1/System.Reflection.Extensions.dll +0 -0
  174. aspose/netcore/netcore3.1/System.Reflection.Metadata.dll +0 -0
  175. aspose/netcore/netcore3.1/System.Reflection.Primitives.dll +0 -0
  176. aspose/netcore/netcore3.1/System.Reflection.TypeExtensions.dll +0 -0
  177. aspose/netcore/netcore3.1/System.Reflection.dll +0 -0
  178. aspose/netcore/netcore3.1/System.Resources.Reader.dll +0 -0
  179. aspose/netcore/netcore3.1/System.Resources.ResourceManager.dll +0 -0
  180. aspose/netcore/netcore3.1/System.Resources.Writer.dll +0 -0
  181. aspose/netcore/netcore3.1/System.Runtime.CompilerServices.Unsafe.dll +0 -0
  182. aspose/netcore/netcore3.1/System.Runtime.CompilerServices.VisualC.dll +0 -0
  183. aspose/netcore/netcore3.1/System.Runtime.Extensions.dll +0 -0
  184. aspose/netcore/netcore3.1/System.Runtime.Handles.dll +0 -0
  185. aspose/netcore/netcore3.1/System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
  186. aspose/netcore/netcore3.1/System.Runtime.InteropServices.WindowsRuntime.dll +0 -0
  187. aspose/netcore/netcore3.1/System.Runtime.InteropServices.dll +0 -0
  188. aspose/netcore/netcore3.1/System.Runtime.Intrinsics.dll +0 -0
  189. aspose/netcore/netcore3.1/System.Runtime.Loader.dll +0 -0
  190. aspose/netcore/netcore3.1/System.Runtime.Numerics.dll +0 -0
  191. aspose/netcore/netcore3.1/System.Runtime.Serialization.Formatters.dll +0 -0
  192. aspose/netcore/netcore3.1/System.Runtime.Serialization.Json.dll +0 -0
  193. aspose/netcore/netcore3.1/System.Runtime.Serialization.Primitives.dll +0 -0
  194. aspose/netcore/netcore3.1/System.Runtime.Serialization.Xml.dll +0 -0
  195. aspose/netcore/netcore3.1/System.Runtime.Serialization.dll +0 -0
  196. aspose/netcore/netcore3.1/System.Runtime.WindowsRuntime.UI.Xaml.dll +0 -0
  197. aspose/netcore/netcore3.1/System.Runtime.WindowsRuntime.dll +0 -0
  198. aspose/netcore/netcore3.1/System.Runtime.dll +0 -0
  199. aspose/netcore/netcore3.1/System.Security.AccessControl.dll +0 -0
  200. aspose/netcore/netcore3.1/System.Security.Claims.dll +0 -0
  201. aspose/netcore/netcore3.1/System.Security.Cryptography.Algorithms.dll +0 -0
  202. aspose/netcore/netcore3.1/System.Security.Cryptography.Cng.dll +0 -0
  203. aspose/netcore/netcore3.1/System.Security.Cryptography.Csp.dll +0 -0
  204. aspose/netcore/netcore3.1/System.Security.Cryptography.Encoding.dll +0 -0
  205. aspose/netcore/netcore3.1/System.Security.Cryptography.OpenSsl.dll +0 -0
  206. aspose/netcore/netcore3.1/System.Security.Cryptography.Primitives.dll +0 -0
  207. aspose/netcore/netcore3.1/System.Security.Cryptography.X509Certificates.dll +0 -0
  208. aspose/netcore/netcore3.1/System.Security.Principal.Windows.dll +0 -0
  209. aspose/netcore/netcore3.1/System.Security.Principal.dll +0 -0
  210. aspose/netcore/netcore3.1/System.Security.SecureString.dll +0 -0
  211. aspose/netcore/netcore3.1/System.Security.dll +0 -0
  212. aspose/netcore/netcore3.1/System.ServiceModel.Web.dll +0 -0
  213. aspose/netcore/netcore3.1/System.ServiceProcess.dll +0 -0
  214. aspose/netcore/netcore3.1/System.Text.Encoding.CodePages.dll +0 -0
  215. aspose/netcore/netcore3.1/System.Text.Encoding.Extensions.dll +0 -0
  216. aspose/netcore/netcore3.1/System.Text.Encoding.dll +0 -0
  217. aspose/netcore/netcore3.1/System.Text.Encodings.Web.dll +0 -0
  218. aspose/netcore/netcore3.1/System.Text.Json.dll +0 -0
  219. aspose/netcore/netcore3.1/System.Text.RegularExpressions.dll +0 -0
  220. aspose/netcore/netcore3.1/System.Threading.Channels.dll +0 -0
  221. aspose/netcore/netcore3.1/System.Threading.Overlapped.dll +0 -0
  222. aspose/netcore/netcore3.1/System.Threading.Tasks.Dataflow.dll +0 -0
  223. aspose/netcore/netcore3.1/System.Threading.Tasks.Extensions.dll +0 -0
  224. aspose/netcore/netcore3.1/System.Threading.Tasks.Parallel.dll +0 -0
  225. aspose/netcore/netcore3.1/System.Threading.Tasks.dll +0 -0
  226. aspose/netcore/netcore3.1/System.Threading.Thread.dll +0 -0
  227. aspose/netcore/netcore3.1/System.Threading.ThreadPool.dll +0 -0
  228. aspose/netcore/netcore3.1/System.Threading.Timer.dll +0 -0
  229. aspose/netcore/netcore3.1/System.Threading.dll +0 -0
  230. aspose/netcore/netcore3.1/System.Transactions.Local.dll +0 -0
  231. aspose/netcore/netcore3.1/System.Transactions.dll +0 -0
  232. aspose/netcore/netcore3.1/System.ValueTuple.dll +0 -0
  233. aspose/netcore/netcore3.1/System.Web.HttpUtility.dll +0 -0
  234. aspose/netcore/netcore3.1/System.Web.dll +0 -0
  235. aspose/netcore/netcore3.1/System.Windows.dll +0 -0
  236. aspose/netcore/netcore3.1/System.Xml.Linq.dll +0 -0
  237. aspose/netcore/netcore3.1/System.Xml.ReaderWriter.dll +0 -0
  238. aspose/netcore/netcore3.1/System.Xml.Serialization.dll +0 -0
  239. aspose/netcore/netcore3.1/System.Xml.XDocument.dll +0 -0
  240. aspose/netcore/netcore3.1/System.Xml.XPath.XDocument.dll +0 -0
  241. aspose/netcore/netcore3.1/System.Xml.XPath.dll +0 -0
  242. aspose/netcore/netcore3.1/System.Xml.XmlDocument.dll +0 -0
  243. aspose/netcore/netcore3.1/System.Xml.XmlSerializer.dll +0 -0
  244. aspose/netcore/netcore3.1/System.Xml.dll +0 -0
  245. aspose/netcore/netcore3.1/System.dll +0 -0
  246. aspose/netcore/netcore3.1/WindowsBase.dll +0 -0
  247. aspose/netcore/netcore3.1/api-ms-win-core-console-l1-1-0.dll +0 -0
  248. aspose/netcore/netcore3.1/api-ms-win-core-datetime-l1-1-0.dll +0 -0
  249. aspose/netcore/netcore3.1/api-ms-win-core-debug-l1-1-0.dll +0 -0
  250. aspose/netcore/netcore3.1/api-ms-win-core-errorhandling-l1-1-0.dll +0 -0
  251. aspose/netcore/netcore3.1/api-ms-win-core-file-l1-1-0.dll +0 -0
  252. aspose/netcore/netcore3.1/api-ms-win-core-file-l1-2-0.dll +0 -0
  253. aspose/netcore/netcore3.1/api-ms-win-core-file-l2-1-0.dll +0 -0
  254. aspose/netcore/netcore3.1/api-ms-win-core-handle-l1-1-0.dll +0 -0
  255. aspose/netcore/netcore3.1/api-ms-win-core-heap-l1-1-0.dll +0 -0
  256. aspose/netcore/netcore3.1/api-ms-win-core-interlocked-l1-1-0.dll +0 -0
  257. aspose/netcore/netcore3.1/api-ms-win-core-libraryloader-l1-1-0.dll +0 -0
  258. aspose/netcore/netcore3.1/api-ms-win-core-localization-l1-2-0.dll +0 -0
  259. aspose/netcore/netcore3.1/api-ms-win-core-memory-l1-1-0.dll +0 -0
  260. aspose/netcore/netcore3.1/api-ms-win-core-namedpipe-l1-1-0.dll +0 -0
  261. aspose/netcore/netcore3.1/api-ms-win-core-processenvironment-l1-1-0.dll +0 -0
  262. aspose/netcore/netcore3.1/api-ms-win-core-processthreads-l1-1-0.dll +0 -0
  263. aspose/netcore/netcore3.1/api-ms-win-core-processthreads-l1-1-1.dll +0 -0
  264. aspose/netcore/netcore3.1/api-ms-win-core-profile-l1-1-0.dll +0 -0
  265. aspose/netcore/netcore3.1/api-ms-win-core-rtlsupport-l1-1-0.dll +0 -0
  266. aspose/netcore/netcore3.1/api-ms-win-core-string-l1-1-0.dll +0 -0
  267. aspose/netcore/netcore3.1/api-ms-win-core-synch-l1-1-0.dll +0 -0
  268. aspose/netcore/netcore3.1/api-ms-win-core-synch-l1-2-0.dll +0 -0
  269. aspose/netcore/netcore3.1/api-ms-win-core-sysinfo-l1-1-0.dll +0 -0
  270. aspose/netcore/netcore3.1/api-ms-win-core-timezone-l1-1-0.dll +0 -0
  271. aspose/netcore/netcore3.1/api-ms-win-core-util-l1-1-0.dll +0 -0
  272. aspose/netcore/netcore3.1/api-ms-win-crt-conio-l1-1-0.dll +0 -0
  273. aspose/netcore/netcore3.1/api-ms-win-crt-convert-l1-1-0.dll +0 -0
  274. aspose/netcore/netcore3.1/api-ms-win-crt-environment-l1-1-0.dll +0 -0
  275. aspose/netcore/netcore3.1/api-ms-win-crt-filesystem-l1-1-0.dll +0 -0
  276. aspose/netcore/netcore3.1/api-ms-win-crt-heap-l1-1-0.dll +0 -0
  277. aspose/netcore/netcore3.1/api-ms-win-crt-locale-l1-1-0.dll +0 -0
  278. aspose/netcore/netcore3.1/api-ms-win-crt-math-l1-1-0.dll +0 -0
  279. aspose/netcore/netcore3.1/api-ms-win-crt-multibyte-l1-1-0.dll +0 -0
  280. aspose/netcore/netcore3.1/api-ms-win-crt-private-l1-1-0.dll +0 -0
  281. aspose/netcore/netcore3.1/api-ms-win-crt-process-l1-1-0.dll +0 -0
  282. aspose/netcore/netcore3.1/api-ms-win-crt-runtime-l1-1-0.dll +0 -0
  283. aspose/netcore/netcore3.1/api-ms-win-crt-stdio-l1-1-0.dll +0 -0
  284. aspose/netcore/netcore3.1/api-ms-win-crt-string-l1-1-0.dll +0 -0
  285. aspose/netcore/netcore3.1/api-ms-win-crt-time-l1-1-0.dll +0 -0
  286. aspose/netcore/netcore3.1/api-ms-win-crt-utility-l1-1-0.dll +0 -0
  287. aspose/netcore/netcore3.1/aspose.embed.coreclrwrap.dll +0 -0
  288. aspose/netcore/netcore3.1/clrcompression.dll +0 -0
  289. aspose/netcore/netcore3.1/clretwrc.dll +0 -0
  290. aspose/netcore/netcore3.1/clrjit.dll +0 -0
  291. aspose/netcore/netcore3.1/coreclr.dll +0 -0
  292. aspose/netcore/netcore3.1/dbgshim.dll +0 -0
  293. aspose/netcore/netcore3.1/hostfxr.dll +0 -0
  294. aspose/netcore/netcore3.1/hostpolicy.dll +0 -0
  295. aspose/netcore/netcore3.1/mscordaccore.dll +0 -0
  296. aspose/netcore/netcore3.1/mscordaccore_amd64_amd64_4.700.22.55902.dll +0 -0
  297. aspose/netcore/netcore3.1/mscordbi.dll +0 -0
  298. aspose/netcore/netcore3.1/mscorlib.dll +0 -0
  299. aspose/netcore/netcore3.1/mscorrc.debug.dll +0 -0
  300. aspose/netcore/netcore3.1/mscorrc.dll +0 -0
  301. aspose/netcore/netcore3.1/netstandard.dll +0 -0
  302. aspose/netcore/netcore3.1/ucrtbase.dll +0 -0
  303. aspose/pycore/__init__.pyi +56 -0
  304. aspose/pycore/__pyinstaller/__init__.pyi +1 -0
  305. aspose/pycore/__pyinstaller/hook-aspose.pycore.py +11 -0
  306. aspose/pycore.cp310-win_amd64.pyd +0 -0
  307. aspose/pycore.cp311-win_amd64.pyd +0 -0
  308. aspose/pycore.cp35-win_amd64.pyd +0 -0
  309. aspose/pycore.cp36-win_amd64.pyd +0 -0
  310. aspose/pycore.cp37-win_amd64.pyd +0 -0
  311. aspose/pycore.cp38-win_amd64.pyd +0 -0
  312. aspose/pycore.cp39-win_amd64.pyd +0 -0
  313. aspose/pydrawing/__init__.pyi +8 -0
  314. aspose/pydrawing/__pyinstaller/__init__.pyi +1 -0
  315. aspose/pydrawing/__pyinstaller/hook-aspose.pydrawing.py +9 -0
  316. aspose/pydrawing.cp310-win_amd64.pyd +0 -0
  317. aspose/pydrawing.cp311-win_amd64.pyd +0 -0
  318. aspose/pydrawing.cp35-win_amd64.pyd +0 -0
  319. aspose/pydrawing.cp36-win_amd64.pyd +0 -0
  320. aspose/pydrawing.cp37-win_amd64.pyd +0 -0
  321. aspose/pydrawing.cp38-win_amd64.pyd +0 -0
  322. aspose/pydrawing.cp39-win_amd64.pyd +0 -0
  323. aspose/pygc/__init__.pyi +8 -0
  324. aspose/pygc/__pyinstaller/__init__.pyi +1 -0
  325. aspose/pygc/__pyinstaller/hook-aspose.pygc.py +9 -0
  326. aspose/pygc.cp310-win_amd64.pyd +0 -0
  327. aspose/pygc.cp311-win_amd64.pyd +0 -0
  328. aspose/pygc.cp35-win_amd64.pyd +0 -0
  329. aspose/pygc.cp36-win_amd64.pyd +0 -0
  330. aspose/pygc.cp37-win_amd64.pyd +0 -0
  331. aspose/pygc.cp38-win_amd64.pyd +0 -0
  332. aspose/pygc.cp39-win_amd64.pyd +0 -0
  333. aspose/pyreflection/__init__.pyi +8 -0
  334. aspose/pyreflection/__pyinstaller/__init__.pyi +1 -0
  335. aspose/pyreflection/__pyinstaller/hook-aspose.pyreflection.py +9 -0
  336. aspose/pyreflection.cp310-win_amd64.pyd +0 -0
  337. aspose/pyreflection.cp311-win_amd64.pyd +0 -0
  338. aspose/pyreflection.cp35-win_amd64.pyd +0 -0
  339. aspose/pyreflection.cp36-win_amd64.pyd +0 -0
  340. aspose/pyreflection.cp37-win_amd64.pyd +0 -0
  341. aspose/pyreflection.cp38-win_amd64.pyd +0 -0
  342. aspose/pyreflection.cp39-win_amd64.pyd +0 -0
  343. aspose_html_net-24.6.0.dist-info/METADATA +112 -0
  344. aspose_html_net-24.6.0.dist-info/RECORD +347 -0
  345. aspose_html_net-24.6.0.dist-info/WHEEL +5 -0
  346. aspose_html_net-24.6.0.dist-info/entry_points.txt +3 -0
  347. aspose_html_net-24.6.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,2720 @@
1
+ from typing import List, Optional, Dict, Iterable
2
+ import aspose.pycore
3
+ import aspose.pydrawing
4
+ import aspose.html
5
+ import aspose.html.accessibility
6
+ import aspose.html.accessibility.results
7
+ import aspose.html.accessibility.saving
8
+ import aspose.html.collections
9
+ import aspose.html.converters
10
+ import aspose.html.diagnostics
11
+ import aspose.html.dom
12
+ import aspose.html.dom.attributes
13
+ import aspose.html.dom.canvas
14
+ import aspose.html.dom.css
15
+ import aspose.html.dom.events
16
+ import aspose.html.dom.mutations
17
+ import aspose.html.dom.svg
18
+ import aspose.html.dom.svg.datatypes
19
+ import aspose.html.dom.svg.events
20
+ import aspose.html.dom.svg.filters
21
+ import aspose.html.dom.svg.paths
22
+ import aspose.html.dom.svg.saving
23
+ import aspose.html.dom.traversal
24
+ import aspose.html.dom.traversal.filters
25
+ import aspose.html.dom.views
26
+ import aspose.html.dom.xpath
27
+ import aspose.html.drawing
28
+ import aspose.html.forms
29
+ import aspose.html.io
30
+ import aspose.html.loading
31
+ import aspose.html.net
32
+ import aspose.html.net.headers
33
+ import aspose.html.net.messagefilters
34
+ import aspose.html.net.messagehandlers
35
+ import aspose.html.rendering
36
+ import aspose.html.rendering.doc
37
+ import aspose.html.rendering.fonts
38
+ import aspose.html.rendering.image
39
+ import aspose.html.rendering.pdf
40
+ import aspose.html.rendering.pdf.encryption
41
+ import aspose.html.rendering.xps
42
+ import aspose.html.saving
43
+ import aspose.html.saving.resourcehandlers
44
+ import aspose.html.services
45
+ import aspose.html.toolkit
46
+ import aspose.html.toolkit.markdown
47
+ import aspose.html.toolkit.markdown.syntax
48
+ import aspose.html.toolkit.markdown.syntax.extensions
49
+ import aspose.html.toolkit.markdown.syntax.parser
50
+ import aspose.html.toolkit.markdown.syntax.parser.extensions
51
+ import aspose.html.toolkit.markdown.syntax.parser.extensions.gfm
52
+ import aspose.html.toolkit.markdown.syntax.text
53
+ import aspose.html.toolkit.optimizers
54
+ import aspose.html.window
55
+
56
+ class Angle(Dimension):
57
+ '''The angle data type'''
58
+
59
+ @overload
60
+ def get_value(self) -> float:
61
+ '''Gets the unit value.
62
+
63
+ :returns: The object value.'''
64
+ ...
65
+
66
+ @overload
67
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
68
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
69
+
70
+ :param unit_type: Type of the unit.
71
+ :returns: Returns value that is converted to specified type.'''
72
+ ...
73
+
74
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
75
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
76
+
77
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
78
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
79
+ ...
80
+
81
+ @staticmethod
82
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
83
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
84
+
85
+ :param value: The value.
86
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
87
+ ...
88
+
89
+ @staticmethod
90
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
91
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
92
+
93
+ :param value: The value.
94
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
95
+ ...
96
+
97
+ @staticmethod
98
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
99
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
100
+
101
+ :param value: The value.
102
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
103
+ ...
104
+
105
+ @staticmethod
106
+ def from_inches(value : float) -> aspose.html.drawing.Length:
107
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
108
+
109
+ :param value: The value.
110
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
111
+ ...
112
+
113
+ @staticmethod
114
+ def from_picas(value : float) -> aspose.html.drawing.Length:
115
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
116
+
117
+ :param value: The value.
118
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
119
+ ...
120
+
121
+ @staticmethod
122
+ def from_points(value : float) -> aspose.html.drawing.Length:
123
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
124
+
125
+ :param value: The value.
126
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
127
+ ...
128
+
129
+ @staticmethod
130
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
131
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
132
+
133
+ :param value: The value.
134
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
135
+ ...
136
+
137
+ @staticmethod
138
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
139
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
140
+
141
+ :param value: The value.
142
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
143
+ ...
144
+
145
+ @staticmethod
146
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
147
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
148
+
149
+ :param value: The value.
150
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
151
+ ...
152
+
153
+ @staticmethod
154
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
155
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
156
+
157
+ :param value: The value.
158
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
159
+ ...
160
+
161
+ @staticmethod
162
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
163
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
164
+
165
+ :param value: The value.
166
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
167
+ ...
168
+
169
+ @staticmethod
170
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
171
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
172
+
173
+ :param value: The value.
174
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
175
+ ...
176
+
177
+ @staticmethod
178
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
179
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
180
+
181
+ :param value: The value.
182
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
183
+ ...
184
+
185
+ @staticmethod
186
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
187
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
188
+
189
+ :param value: The value.
190
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
191
+ ...
192
+
193
+ @staticmethod
194
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
195
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
196
+
197
+ :param value: The value.
198
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
199
+ ...
200
+
201
+ @staticmethod
202
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
203
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
204
+
205
+ :param value: The value.
206
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
207
+ ...
208
+
209
+ @staticmethod
210
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
211
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
212
+
213
+ :param value: The value.
214
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
215
+ ...
216
+
217
+ @staticmethod
218
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
219
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
220
+
221
+ :param value: The value.
222
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
223
+ ...
224
+
225
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
226
+ '''Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
227
+
228
+ :param other: The other object to compare.
229
+ :returns: A value that indicates the relative order of the objects being compared.'''
230
+ ...
231
+
232
+ @property
233
+ def unit_type(self) -> aspose.html.drawing.UnitType:
234
+ ...
235
+
236
+ ...
237
+
238
+ class Color:
239
+ '''The Color class lets you specify colors as
240
+ Red-Green-Blue (RGB) values,
241
+ Hue-Saturation-Luminosity (HSL) values,
242
+ Hue-Saturation-Value (HSV) values,
243
+ Hue-Whiteness-Blackness (HWB) values,
244
+ lightness-A-B (LAB) values,
245
+ Luminance-Chroma-Hue (LCH) values,
246
+ Cyan-Magenta-Yellow-Key (CMYK) values,
247
+ Natural colors (NCOL) values,
248
+ or with a color name.
249
+ An Alpha channel is also available to indicate transparency.'''
250
+
251
+ @overload
252
+ @staticmethod
253
+ def from_rgb(red : bytegreen : byte, blue : byte) -> aspose.html.drawing.Color:
254
+ '''Returns a new Color with the requested ged, green, blue values.
255
+ All color components must be in the range 0-255.
256
+
257
+ :param red: A byte that represents the red component of the color.
258
+ :param green: A byte that represents the green component of the color.
259
+ :param blue: A byte that represents the blue component of the color.
260
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
261
+ ...
262
+
263
+ @overload
264
+ @staticmethod
265
+ def from_rgb(red : intgreen : int, blue : int) -> aspose.html.drawing.Color:
266
+ '''Returns a new Color with the requested ged, green, blue values.
267
+ All color components must be in the range 0-255.
268
+
269
+ :param red: A int that represents the red component of the color.
270
+ :param green: A int that represents the green component of the color.
271
+ :param blue: A int that represents the blue component of the color.
272
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
273
+ ...
274
+
275
+ @overload
276
+ @staticmethod
277
+ def from_rgb(red : floatgreen : float, blue : float) -> aspose.html.drawing.Color:
278
+ '''Returns a new Color with the requested ged, green, blue values.
279
+ All color components must be in the range 0-1.
280
+
281
+ :param red: A float that represents the red component of the color.
282
+ :param green: A float that represents the green component of the color.
283
+ :param blue: A float that represents the blue component of the color.
284
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
285
+ ...
286
+
287
+ @overload
288
+ @staticmethod
289
+ def from_rgba(red : bytegreen : byte, blue : byte, alpha : byte) -> aspose.html.drawing.Color:
290
+ '''Returns a new Color with the requested ged, green, blue, alpha values.
291
+ All color components must be in the range 0-255.
292
+
293
+ :param red: A byte that represents the red component of the color.
294
+ :param green: A byte that represents the green component of the color.
295
+ :param blue: A byte that represents the blue component of the color.
296
+ :param alpha: A byte that represents the alpha component of the color.
297
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
298
+ ...
299
+
300
+ @overload
301
+ @staticmethod
302
+ def from_rgba(red : intgreen : int, blue : int, alpha : int) -> aspose.html.drawing.Color:
303
+ '''Returns a new Color with the requested ged, green, blue, alpha values.
304
+ All color components must be in the range 0-255.
305
+
306
+ :param red: A int that represents the red component of the color.
307
+ :param green: A int that represents the green component of the color.
308
+ :param blue: A int that represents the blue component of the color.
309
+ :param alpha: A int that represents the alpha component of the color.
310
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
311
+ ...
312
+
313
+ @overload
314
+ @staticmethod
315
+ def from_rgba(red : floatgreen : float, blue : float, alpha : float) -> aspose.html.drawing.Color:
316
+ '''Returns a new Color with the requested ged, green, blue, alpha values.
317
+ All color components must be in the range 0-1.
318
+
319
+ :param red: A float that represents the red component of the color.
320
+ :param green: A float that represents the green component of the color.
321
+ :param blue: A float that represents the blue component of the color.
322
+ :param alpha: A float that represents the alpha component of the color.
323
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
324
+ ...
325
+
326
+ @staticmethod
327
+ def from_gray(gray : float) -> aspose.html.drawing.Color:
328
+ '''Returns a new Color with the requested gray value.
329
+
330
+ :param gray: A float that represents the gray value of the color.
331
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
332
+ ...
333
+
334
+ @staticmethod
335
+ def from_uint(argb : int) -> aspose.html.drawing.Color:
336
+ '''Returns a new Color with the requested ARGB value.
337
+
338
+ :param argb: A uint that represents the ARGB value of the color.
339
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
340
+ ...
341
+
342
+ @staticmethod
343
+ def from_int(argb : int) -> aspose.html.drawing.Color:
344
+ '''Returns a new Color with the requested ARGB value.
345
+
346
+ :param argb: A int that represents the ARGB value of the color.
347
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
348
+ ...
349
+
350
+ @staticmethod
351
+ def from_string(color : str) -> aspose.html.drawing.Color:
352
+ '''Parses string containing the CSS color and returns a new Color.
353
+
354
+ :param color: A string containing the color in the format RGB, HEX, HSL, HSV, HWB, CMYK, NCOL, LCH, OKLCH, LAB or OKLAB
355
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
356
+ ...
357
+
358
+ @staticmethod
359
+ def from_hsl(hue : floatsaturation : float, lightness : float) -> aspose.html.drawing.Color:
360
+ '''Returns a new Color with the requested hue, saturation, saturation values.
361
+
362
+ :param hue: A float that represents the hue component of the color.
363
+ :param saturation: A float that represents the saturation component of the color.
364
+ :param lightness: A float that represents the lightness component of the color.
365
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
366
+ ...
367
+
368
+ @staticmethod
369
+ def from_hsla(hue : floatsaturation : float, lightness : float, alpha : float) -> aspose.html.drawing.Color:
370
+ '''Returns a new Color with the requested hue, saturation, saturation, alpha values.
371
+
372
+ :param hue: A float that represents the hue component of the color.
373
+ :param saturation: A float that represents the saturation component of the color.
374
+ :param lightness: A float that represents the lightness component of the color.
375
+ :param alpha: A float that represents the alpha component of the color.
376
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
377
+ ...
378
+
379
+ @staticmethod
380
+ def from_hsv(hue : floatsaturation : float, value : float) -> aspose.html.drawing.Color:
381
+ '''Returns a new Color with the requested hue, saturation, value.
382
+
383
+ :param hue: A float that represents the hue component of the color.
384
+ :param saturation: A float that represents the saturation component of the color.
385
+ :param value: A float that represents the value component of the color.
386
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
387
+ ...
388
+
389
+ @staticmethod
390
+ def from_hsva(hue : floatsaturation : float, value : float, alpha : float) -> aspose.html.drawing.Color:
391
+ '''Returns a new Color with the requested hue, saturation, value, alpha.
392
+
393
+ :param hue: A float that represents the hue component of the color.
394
+ :param saturation: A float that represents the saturation component of the color.
395
+ :param value: A float that represents the value component of the color.
396
+ :param alpha: A float that represents the alpha component of the color.
397
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
398
+ ...
399
+
400
+ @staticmethod
401
+ def from_hwb(hue : floatwhiteness : float, blackness : float) -> aspose.html.drawing.Color:
402
+ '''Returns a new Color with the requested hue, whiteness, blackness values.
403
+
404
+ :param hue: A float that represents the hue component of the color.
405
+ :param whiteness: A float that represents the whiteness component of the color.
406
+ :param blackness: A float that represents the blackness component of the color.
407
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
408
+ ...
409
+
410
+ @staticmethod
411
+ def from_hwba(hue : floatwhiteness : float, blackness : float, alpha : float) -> aspose.html.drawing.Color:
412
+ '''Returns a new Color with the requested hue, whiteness, blackness values.
413
+
414
+ :param hue: A float that represents the hue component of the color.
415
+ :param whiteness: A float that represents the whiteness component of the color.
416
+ :param blackness: A float that represents the blackness component of the color.
417
+ :param alpha: A float that represents the alpha component of the color.
418
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
419
+ ...
420
+
421
+ @staticmethod
422
+ def from_cmyk(cyan : floatmagenta : float, yellow : float, key : float) -> aspose.html.drawing.Color:
423
+ '''Returns a new Color with the requested cyan, magenta, yellow, key (black) values.
424
+
425
+ :param cyan: A float that represents the cyan component of the color.
426
+ :param magenta: A float that represents the magenta component of the color.
427
+ :param yellow: A float that represents the yellow component of the color.
428
+ :param key: A float that represents the key component of the color.
429
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
430
+ ...
431
+
432
+ @staticmethod
433
+ def from_cmyka(cyan : floatmagenta : float, yellow : float, key : float, alpha : float) -> aspose.html.drawing.Color:
434
+ '''Returns a new Color with the requested cyan, magenta, yellow, key (black), alpha values.
435
+
436
+ :param cyan: A float that represents the cyan component of the color.
437
+ :param magenta: A float that represents the magenta component of the color.
438
+ :param yellow: A float that represents the yellow component of the color.
439
+ :param key: A float that represents the key component of the color.
440
+ :param alpha: A float that represents the alpha component of the color.
441
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
442
+ ...
443
+
444
+ @staticmethod
445
+ def from_lab(lightness : floata : float, b : float) -> aspose.html.drawing.Color:
446
+ '''Returns a new Color with the requested lightness, A, B values.
447
+
448
+ :param lightness: A float that represents the lightness component of the color.
449
+ :param a: A float that represents the A component of the color.
450
+ :param b: A float that represents the B component of the color.
451
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
452
+ ...
453
+
454
+ @staticmethod
455
+ def from_laba(lightness : floata : float, b : float, alpha : float) -> aspose.html.drawing.Color:
456
+ '''Returns a new Color with the requested lightness, A, B, alpha values.
457
+
458
+ :param lightness: A float that represents the lightness component of the color.
459
+ :param a: A float that represents the A component of the color.
460
+ :param b: A float that represents the B component of the color.
461
+ :param alpha: A float that represents the alpha component of the color.
462
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
463
+ ...
464
+
465
+ @staticmethod
466
+ def from_oklab(lightness : floata : float, b : float) -> aspose.html.drawing.Color:
467
+ '''Returns a new Color with the requested lightness, A, B values for OKLAB model.
468
+
469
+ :param lightness: A float that represents the lightness component of the color.
470
+ :param a: A float that represents the A component of the color.
471
+ :param b: A float that represents the B component of the color.
472
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
473
+ ...
474
+
475
+ @staticmethod
476
+ def from_oklaba(lightness : floata : float, b : float, alpha : float) -> aspose.html.drawing.Color:
477
+ '''Returns a new Color with the requested lightness, A, B, alpha values for OKLAB model.
478
+
479
+ :param lightness: A float that represents the lightness component of the color.
480
+ :param a: A float that represents the A component of the color.
481
+ :param b: A float that represents the B component of the color.
482
+ :param alpha: A float that represents the alpha component of the color.
483
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
484
+ ...
485
+
486
+ @staticmethod
487
+ def from_lch(luminance : floatchroma : float, hue : float) -> aspose.html.drawing.Color:
488
+ '''Returns a new Color with the requested luminance, chroma, hue values.
489
+
490
+ :param luminance: A float that represents the luminance component of the color.
491
+ :param chroma: A float that represents the chroma component of the color.
492
+ :param hue: A float that represents the hue component of the color.
493
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
494
+ ...
495
+
496
+ @staticmethod
497
+ def from_lcha(luminance : floatchroma : float, hue : float, alpha : float) -> aspose.html.drawing.Color:
498
+ '''Returns a new Color with the requested luminance, chroma, hue, alpha values.
499
+
500
+ :param luminance: A float that represents the luminance component of the color.
501
+ :param chroma: A float that represents the chroma component of the color.
502
+ :param hue: A float that represents the hue component of the color.
503
+ :param alpha: A float that represents the alpha component of the color.
504
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
505
+ ...
506
+
507
+ @staticmethod
508
+ def from_oklch(luminance : floatchroma : float, hue : float) -> aspose.html.drawing.Color:
509
+ '''Returns a new Color with the requested luminance, chroma, hue values for OKLAB model.
510
+
511
+ :param luminance: A float that represents the luminance component of the color.
512
+ :param chroma: A float that represents the chroma component of the color.
513
+ :param hue: A float that represents the hue component of the color.
514
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
515
+ ...
516
+
517
+ @staticmethod
518
+ def from_oklcha(luminance : floatchroma : float, hue : float, alpha : float) -> aspose.html.drawing.Color:
519
+ '''Returns a new Color with the requested luminance, chroma, hue, alpha values for OKLAB model.
520
+
521
+ :param luminance: A float that represents the luminance component of the color.
522
+ :param chroma: A float that represents the chroma component of the color.
523
+ :param hue: A float that represents the hue component of the color.
524
+ :param alpha: A float that represents the alpha component of the color.
525
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
526
+ ...
527
+
528
+ def to_rgb_hex_string(self) -> str:
529
+ '''Returns a hexadecimal color is specified with: #RRGGBB.
530
+
531
+ :returns: A hexadecimal color string.'''
532
+ ...
533
+
534
+ def to_natural_color_string(self, digits : int) -> str:
535
+ '''Returns a Natural colors (NCol) specified color using a color letter with a number to specify the distance (in percent) from the color.
536
+
537
+ :param digits: Sets the rounding precision for color components.
538
+ :returns: A Natural colors (NCol) string'''
539
+ ...
540
+
541
+ def to_name(self) -> str:
542
+ '''Returns the name of the color if it matches a color in the list of CSS named colors, or an empty string.
543
+
544
+ :returns: A color name.'''
545
+ ...
546
+
547
+ def convert(self, model : aspose.html.drawing.ColorModel) -> aspose.html.drawing.IColorComponents:
548
+ '''Returns a color components in the format of the specified color model.
549
+
550
+ :param model: The color model.
551
+ :returns: A new instance of the :py:class:`aspose.html.drawing.IColorComponents` interface'''
552
+ ...
553
+
554
+ def to_rgb_string(self) -> str:
555
+ '''Returns a string containing the RGB color specified by: rgb(R, G, B).
556
+
557
+ :returns: A rgb string.'''
558
+ ...
559
+
560
+ def to_rgba_hex_string(self) -> str:
561
+ '''Returns a Hexadecimal color is specified with: #RRGGBBAA.
562
+
563
+ :returns: A Hexadecimal color string.'''
564
+ ...
565
+
566
+ def to_rgba_string(self) -> str:
567
+ '''Returns a string containing the RGBA color specified by: rgba(R, G, B, A).
568
+
569
+ :returns: A rgba string.'''
570
+ ...
571
+
572
+ def to_int(self) -> int:
573
+ '''Encodes the Color ARGB components into int.
574
+
575
+ :returns: Encoded int.'''
576
+ ...
577
+
578
+ def to_uint(self) -> int:
579
+ '''Encodes the Color ARGB components into unsigned int.
580
+
581
+ :returns: Encoded unsigned int.'''
582
+ ...
583
+
584
+ def get_luminosity(self) -> float:
585
+ '''Returns a luminosity of the Color.
586
+
587
+ :returns: A luminosity of the Color.'''
588
+ ...
589
+
590
+ def add_luminosity(self, delta : float) -> aspose.html.drawing.Color:
591
+ '''Creates copy of the Color with Sum of its luminosity and the delta value.
592
+
593
+ :param delta: Value of luminosity
594
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
595
+ ...
596
+
597
+ def with_luminosity(self, luminosity : float) -> aspose.html.drawing.Color:
598
+ '''Creates copy of the Color with specified luminosity.
599
+
600
+ :param luminosity: Value of luminosity
601
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class.'''
602
+ ...
603
+
604
+ def with_alpha(self, alpha : float) -> aspose.html.drawing.Color:
605
+ '''Creates copy of the Color with specified alpha component.
606
+
607
+ :param alpha: Value of Alpha component
608
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
609
+ ...
610
+
611
+ def get_saturation(self) -> float:
612
+ '''Returns a saturation of the Color.
613
+
614
+ :returns: A saturation of the Color.'''
615
+ ...
616
+
617
+ def with_saturation(self, saturation : float) -> aspose.html.drawing.Color:
618
+ '''Creates copy of the Color with specified saturation.
619
+
620
+ :param saturation: Value of saturation.
621
+ :returns: >A new instance of the :py:class:`aspose.html.drawing.Color` class.'''
622
+ ...
623
+
624
+ def get_hue(self) -> float:
625
+ '''Returns a Hue of the Color.
626
+
627
+ :returns: A Hue of the Color.'''
628
+ ...
629
+
630
+ def with_hue(self, hue : float) -> aspose.html.drawing.Color:
631
+ '''Creates copy of the Color with specified Hue.
632
+
633
+ :param hue: Value of Hue.
634
+ :returns: >A new instance of the :py:class:`aspose.html.drawing.Color` class.'''
635
+ ...
636
+
637
+ def get_complementary(self) -> aspose.html.drawing.Color:
638
+ '''Returns a new color that is on the opposite side of the color wheel from the original.
639
+
640
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class.'''
641
+ ...
642
+
643
+ @property
644
+ def red(self) -> float:
645
+ '''Represents the red component of the color'''
646
+ ...
647
+
648
+ @property
649
+ def green(self) -> float:
650
+ '''Represents the green component of the color.'''
651
+ ...
652
+
653
+ @property
654
+ def blue(self) -> float:
655
+ '''Represents the blue component of the color.'''
656
+ ...
657
+
658
+ @property
659
+ def alpha(self) -> float:
660
+ '''Represents the alpha component of the color.'''
661
+ ...
662
+
663
+ ...
664
+
665
+ class Dimension(Numeric):
666
+ '''Provides the base class for dimensions.
667
+ The general term 'dimension' refers to a number with a unit attached to it, and are denoted by :py:class:`aspose.html.drawing.UnitType`.'''
668
+
669
+ @overload
670
+ def get_value(self) -> float:
671
+ '''Gets the unit value.
672
+
673
+ :returns: The object value.'''
674
+ ...
675
+
676
+ @overload
677
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
678
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
679
+
680
+ :param unit_type: Type of the unit.
681
+ :returns: Returns value that is converted to specified type.'''
682
+ ...
683
+
684
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
685
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
686
+
687
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
688
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
689
+ ...
690
+
691
+ @staticmethod
692
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
693
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
694
+
695
+ :param value: The value.
696
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
697
+ ...
698
+
699
+ @staticmethod
700
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
701
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
702
+
703
+ :param value: The value.
704
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
705
+ ...
706
+
707
+ @staticmethod
708
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
709
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
710
+
711
+ :param value: The value.
712
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
713
+ ...
714
+
715
+ @staticmethod
716
+ def from_inches(value : float) -> aspose.html.drawing.Length:
717
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
718
+
719
+ :param value: The value.
720
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
721
+ ...
722
+
723
+ @staticmethod
724
+ def from_picas(value : float) -> aspose.html.drawing.Length:
725
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
726
+
727
+ :param value: The value.
728
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
729
+ ...
730
+
731
+ @staticmethod
732
+ def from_points(value : float) -> aspose.html.drawing.Length:
733
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
734
+
735
+ :param value: The value.
736
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
737
+ ...
738
+
739
+ @staticmethod
740
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
741
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
742
+
743
+ :param value: The value.
744
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
745
+ ...
746
+
747
+ @staticmethod
748
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
749
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
750
+
751
+ :param value: The value.
752
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
753
+ ...
754
+
755
+ @staticmethod
756
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
757
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
758
+
759
+ :param value: The value.
760
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
761
+ ...
762
+
763
+ @staticmethod
764
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
765
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
766
+
767
+ :param value: The value.
768
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
769
+ ...
770
+
771
+ @staticmethod
772
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
773
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
774
+
775
+ :param value: The value.
776
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
777
+ ...
778
+
779
+ @staticmethod
780
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
781
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
782
+
783
+ :param value: The value.
784
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
785
+ ...
786
+
787
+ @staticmethod
788
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
789
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
790
+
791
+ :param value: The value.
792
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
793
+ ...
794
+
795
+ @staticmethod
796
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
797
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
798
+
799
+ :param value: The value.
800
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
801
+ ...
802
+
803
+ @staticmethod
804
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
805
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
806
+
807
+ :param value: The value.
808
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
809
+ ...
810
+
811
+ @staticmethod
812
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
813
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
814
+
815
+ :param value: The value.
816
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
817
+ ...
818
+
819
+ @staticmethod
820
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
821
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
822
+
823
+ :param value: The value.
824
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
825
+ ...
826
+
827
+ @staticmethod
828
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
829
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
830
+
831
+ :param value: The value.
832
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
833
+ ...
834
+
835
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
836
+ '''Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
837
+
838
+ :param other: The other object to compare.
839
+ :returns: A value that indicates the relative order of the objects being compared.'''
840
+ ...
841
+
842
+ @property
843
+ def unit_type(self) -> aspose.html.drawing.UnitType:
844
+ ...
845
+
846
+ ...
847
+
848
+ class Frequency(Dimension):
849
+ '''The 'frequency' unit.'''
850
+
851
+ @overload
852
+ def get_value(self) -> float:
853
+ '''Gets the unit value.
854
+
855
+ :returns: The object value.'''
856
+ ...
857
+
858
+ @overload
859
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
860
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
861
+
862
+ :param unit_type: Type of the unit.
863
+ :returns: Returns value that is converted to specified type.'''
864
+ ...
865
+
866
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
867
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
868
+
869
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
870
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
871
+ ...
872
+
873
+ @staticmethod
874
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
875
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
876
+
877
+ :param value: The value.
878
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
879
+ ...
880
+
881
+ @staticmethod
882
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
883
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
884
+
885
+ :param value: The value.
886
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
887
+ ...
888
+
889
+ @staticmethod
890
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
891
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
892
+
893
+ :param value: The value.
894
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
895
+ ...
896
+
897
+ @staticmethod
898
+ def from_inches(value : float) -> aspose.html.drawing.Length:
899
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
900
+
901
+ :param value: The value.
902
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
903
+ ...
904
+
905
+ @staticmethod
906
+ def from_picas(value : float) -> aspose.html.drawing.Length:
907
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
908
+
909
+ :param value: The value.
910
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
911
+ ...
912
+
913
+ @staticmethod
914
+ def from_points(value : float) -> aspose.html.drawing.Length:
915
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
916
+
917
+ :param value: The value.
918
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
919
+ ...
920
+
921
+ @staticmethod
922
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
923
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
924
+
925
+ :param value: The value.
926
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
927
+ ...
928
+
929
+ @staticmethod
930
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
931
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
932
+
933
+ :param value: The value.
934
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
935
+ ...
936
+
937
+ @staticmethod
938
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
939
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
940
+
941
+ :param value: The value.
942
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
943
+ ...
944
+
945
+ @staticmethod
946
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
947
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
948
+
949
+ :param value: The value.
950
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
951
+ ...
952
+
953
+ @staticmethod
954
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
955
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
956
+
957
+ :param value: The value.
958
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
959
+ ...
960
+
961
+ @staticmethod
962
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
963
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
964
+
965
+ :param value: The value.
966
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
967
+ ...
968
+
969
+ @staticmethod
970
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
971
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
972
+
973
+ :param value: The value.
974
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
975
+ ...
976
+
977
+ @staticmethod
978
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
979
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
980
+
981
+ :param value: The value.
982
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
983
+ ...
984
+
985
+ @staticmethod
986
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
987
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
988
+
989
+ :param value: The value.
990
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
991
+ ...
992
+
993
+ @staticmethod
994
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
995
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
996
+
997
+ :param value: The value.
998
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
999
+ ...
1000
+
1001
+ @staticmethod
1002
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
1003
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
1004
+
1005
+ :param value: The value.
1006
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1007
+ ...
1008
+
1009
+ @staticmethod
1010
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
1011
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
1012
+
1013
+ :param value: The value.
1014
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1015
+ ...
1016
+
1017
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
1018
+ '''Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
1019
+
1020
+ :param other: The other object to compare.
1021
+ :returns: A value that indicates the relative order of the objects being compared.'''
1022
+ ...
1023
+
1024
+ @property
1025
+ def unit_type(self) -> aspose.html.drawing.UnitType:
1026
+ ...
1027
+
1028
+ ...
1029
+
1030
+ class IBrush:
1031
+ '''Declares method for getting of brush type.'''
1032
+
1033
+ @property
1034
+ def type(self) -> aspose.html.drawing.BrushType:
1035
+ '''Get type of brush;'''
1036
+ ...
1037
+
1038
+ ...
1039
+
1040
+ class IColorComponents:
1041
+ '''Declares method and properties for processing color components.'''
1042
+
1043
+ def to_color(self) -> aspose.html.drawing.Color:
1044
+ '''Converts the color components to the Color object.
1045
+
1046
+ :returns: A new instance of the :py:class:`aspose.html.drawing.Color` class'''
1047
+ ...
1048
+
1049
+ def to_string(self, include_alpha : bool, as_decimal : bool, digits : int) -> str:
1050
+ '''Converts color components to string representation.
1051
+
1052
+ :param include_alpha: Specifies whether to add Alpha component.
1053
+ :param as_decimal: Specifies whether color components are preserved as a decimal number or as a percentage.
1054
+ :param digits: Sets the rounding precision for color components.
1055
+ :returns: String representation of the color components.'''
1056
+ ...
1057
+
1058
+ @property
1059
+ def model(self) -> aspose.html.drawing.ColorModel:
1060
+ '''Returns the color model.'''
1061
+ ...
1062
+
1063
+ @property
1064
+ def components(self) -> List[float]:
1065
+ '''Returns the color components as float array.'''
1066
+ ...
1067
+
1068
+ @property
1069
+ def alpha(self) -> float:
1070
+ '''Returns the alpha component.'''
1071
+ ...
1072
+
1073
+ ...
1074
+
1075
+ class IGradientBrush(ITransformableBrush):
1076
+ '''Declare methods for getting common properties of gradient brushes.'''
1077
+
1078
+ @property
1079
+ def interpolation_colors(self) -> List[aspose.html.drawing.IInterpolationColor]:
1080
+ ...
1081
+
1082
+ @property
1083
+ def blend_positions(self) -> List[float]:
1084
+ ...
1085
+
1086
+ @property
1087
+ def blend_factors(self) -> List[float]:
1088
+ ...
1089
+
1090
+ @property
1091
+ def transformation_matrix(self) -> aspose.pydrawing.drawing2d.Matrix:
1092
+ ...
1093
+
1094
+ @property
1095
+ def wrap_mode(self) -> aspose.pydrawing.drawing2d.WrapMode:
1096
+ ...
1097
+
1098
+ @property
1099
+ def type(self) -> aspose.html.drawing.BrushType:
1100
+ '''Get type of brush;'''
1101
+ ...
1102
+
1103
+ ...
1104
+
1105
+ class IInterpolationColor:
1106
+ '''Desclares methods for getting interpolation color.'''
1107
+
1108
+ @property
1109
+ def color(self) -> aspose.pydrawing.Color:
1110
+ '''Get the color that represents the colors to use at corresponding positions along a gradient.'''
1111
+ ...
1112
+
1113
+ @property
1114
+ def position(self) -> float:
1115
+ '''Gets the color position.'''
1116
+ ...
1117
+
1118
+ ...
1119
+
1120
+ class ILinearGradientBrush(IGradientBrush):
1121
+ '''Defines brush interface with a linear gradient.'''
1122
+
1123
+ @property
1124
+ def rect(self) -> aspose.pydrawing.RectangleF:
1125
+ '''Get a rectangular region that defines the starting and ending points of the gradient.'''
1126
+ ...
1127
+
1128
+ @property
1129
+ def start_color(self) -> aspose.pydrawing.Color:
1130
+ ...
1131
+
1132
+ @property
1133
+ def end_color(self) -> aspose.pydrawing.Color:
1134
+ ...
1135
+
1136
+ @property
1137
+ def start_point(self) -> aspose.pydrawing.PointF:
1138
+ ...
1139
+
1140
+ @property
1141
+ def end_point(self) -> aspose.pydrawing.PointF:
1142
+ ...
1143
+
1144
+ @property
1145
+ def angle(self) -> float:
1146
+ '''Gets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.'''
1147
+ ...
1148
+
1149
+ @property
1150
+ def interpolation_colors(self) -> List[aspose.html.drawing.IInterpolationColor]:
1151
+ ...
1152
+
1153
+ @property
1154
+ def blend_positions(self) -> List[float]:
1155
+ ...
1156
+
1157
+ @property
1158
+ def blend_factors(self) -> List[float]:
1159
+ ...
1160
+
1161
+ @property
1162
+ def transformation_matrix(self) -> aspose.pydrawing.drawing2d.Matrix:
1163
+ ...
1164
+
1165
+ @property
1166
+ def wrap_mode(self) -> aspose.pydrawing.drawing2d.WrapMode:
1167
+ ...
1168
+
1169
+ @property
1170
+ def type(self) -> aspose.html.drawing.BrushType:
1171
+ '''Get type of brush;'''
1172
+ ...
1173
+
1174
+ ...
1175
+
1176
+ class ISolidBrush(IBrush):
1177
+ '''Defines brush interface of a single color'''
1178
+
1179
+ @property
1180
+ def color(self) -> aspose.pydrawing.Color:
1181
+ '''Get color of the brush.'''
1182
+ ...
1183
+
1184
+ @property
1185
+ def type(self) -> aspose.html.drawing.BrushType:
1186
+ '''Get type of brush;'''
1187
+ ...
1188
+
1189
+ ...
1190
+
1191
+ class ITextureBrush(ITransformableBrush):
1192
+ '''Defines brush interface that uses an image to fill the interior of a shape.'''
1193
+
1194
+ @property
1195
+ def image(self) -> bytes:
1196
+ '''Gets the image used by the brush.'''
1197
+ ...
1198
+
1199
+ @property
1200
+ def opacity(self) -> float:
1201
+ '''Get opacity value in a color transform matrix.'''
1202
+ ...
1203
+
1204
+ @property
1205
+ def image_area(self) -> aspose.pydrawing.RectangleF:
1206
+ ...
1207
+
1208
+ @property
1209
+ def color_map(self) -> aspose.pydrawing.Color[]:
1210
+ ...
1211
+
1212
+ @property
1213
+ def transformation_matrix(self) -> aspose.pydrawing.drawing2d.Matrix:
1214
+ ...
1215
+
1216
+ @property
1217
+ def wrap_mode(self) -> aspose.pydrawing.drawing2d.WrapMode:
1218
+ ...
1219
+
1220
+ @property
1221
+ def type(self) -> aspose.html.drawing.BrushType:
1222
+ '''Get type of brush;'''
1223
+ ...
1224
+
1225
+ ...
1226
+
1227
+ class ITransformableBrush(IBrush):
1228
+ '''Desclares methods for getting transformation matrix and wrap mode.'''
1229
+
1230
+ @property
1231
+ def transformation_matrix(self) -> aspose.pydrawing.drawing2d.Matrix:
1232
+ ...
1233
+
1234
+ @property
1235
+ def wrap_mode(self) -> aspose.pydrawing.drawing2d.WrapMode:
1236
+ ...
1237
+
1238
+ @property
1239
+ def type(self) -> aspose.html.drawing.BrushType:
1240
+ '''Get type of brush;'''
1241
+ ...
1242
+
1243
+ ...
1244
+
1245
+ class ITrueTypeFont:
1246
+ '''Declares methods for working with TrueType font.'''
1247
+
1248
+ def get_data(self) -> io.RawIOBase:
1249
+ '''Open the stream with font data. The caller is responsible for disposing the stream.
1250
+
1251
+ :returns: Stream with the font data'''
1252
+ ...
1253
+
1254
+ def get_descent(self, font_size : float) -> float:
1255
+ '''Returns the descent, in points.
1256
+
1257
+ :param font_size: Size of the font.
1258
+ :returns: The descent in points.'''
1259
+ ...
1260
+
1261
+ def get_ascent(self, font_size : float) -> float:
1262
+ '''Returns the ascent, in points.
1263
+
1264
+ :param font_size: Size of the font.
1265
+ :returns: The ascent in points.'''
1266
+ ...
1267
+
1268
+ @property
1269
+ def family_name(self) -> str:
1270
+ ...
1271
+
1272
+ @property
1273
+ def sub_family_name(self) -> str:
1274
+ ...
1275
+
1276
+ @property
1277
+ def full_font_name(self) -> str:
1278
+ ...
1279
+
1280
+ @property
1281
+ def data_size(self) -> float:
1282
+ ...
1283
+
1284
+ ...
1285
+
1286
+ class Length(Dimension):
1287
+ '''Represents a length measurement unit.'''
1288
+
1289
+ @overload
1290
+ def get_value(self) -> float:
1291
+ '''Gets the unit value.
1292
+
1293
+ :returns: The object value.'''
1294
+ ...
1295
+
1296
+ @overload
1297
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
1298
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
1299
+
1300
+ :param unit_type: Type of the unit.
1301
+ :returns: Returns value that is converted to specified type.'''
1302
+ ...
1303
+
1304
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
1305
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
1306
+
1307
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
1308
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
1309
+ ...
1310
+
1311
+ @staticmethod
1312
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
1313
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
1314
+
1315
+ :param value: The value.
1316
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1317
+ ...
1318
+
1319
+ @staticmethod
1320
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
1321
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
1322
+
1323
+ :param value: The value.
1324
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1325
+ ...
1326
+
1327
+ @staticmethod
1328
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
1329
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
1330
+
1331
+ :param value: The value.
1332
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1333
+ ...
1334
+
1335
+ @staticmethod
1336
+ def from_inches(value : float) -> aspose.html.drawing.Length:
1337
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
1338
+
1339
+ :param value: The value.
1340
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1341
+ ...
1342
+
1343
+ @staticmethod
1344
+ def from_picas(value : float) -> aspose.html.drawing.Length:
1345
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
1346
+
1347
+ :param value: The value.
1348
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1349
+ ...
1350
+
1351
+ @staticmethod
1352
+ def from_points(value : float) -> aspose.html.drawing.Length:
1353
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
1354
+
1355
+ :param value: The value.
1356
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1357
+ ...
1358
+
1359
+ @staticmethod
1360
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
1361
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
1362
+
1363
+ :param value: The value.
1364
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1365
+ ...
1366
+
1367
+ @staticmethod
1368
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
1369
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
1370
+
1371
+ :param value: The value.
1372
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1373
+ ...
1374
+
1375
+ @staticmethod
1376
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
1377
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
1378
+
1379
+ :param value: The value.
1380
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1381
+ ...
1382
+
1383
+ @staticmethod
1384
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
1385
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
1386
+
1387
+ :param value: The value.
1388
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1389
+ ...
1390
+
1391
+ @staticmethod
1392
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
1393
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
1394
+
1395
+ :param value: The value.
1396
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1397
+ ...
1398
+
1399
+ @staticmethod
1400
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
1401
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
1402
+
1403
+ :param value: The value.
1404
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1405
+ ...
1406
+
1407
+ @staticmethod
1408
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
1409
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
1410
+
1411
+ :param value: The value.
1412
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1413
+ ...
1414
+
1415
+ @staticmethod
1416
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
1417
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
1418
+
1419
+ :param value: The value.
1420
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1421
+ ...
1422
+
1423
+ @staticmethod
1424
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
1425
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
1426
+
1427
+ :param value: The value.
1428
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1429
+ ...
1430
+
1431
+ @staticmethod
1432
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
1433
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
1434
+
1435
+ :param value: The value.
1436
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1437
+ ...
1438
+
1439
+ @staticmethod
1440
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
1441
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
1442
+
1443
+ :param value: The value.
1444
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1445
+ ...
1446
+
1447
+ @staticmethod
1448
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
1449
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
1450
+
1451
+ :param value: The value.
1452
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1453
+ ...
1454
+
1455
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
1456
+ '''Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
1457
+
1458
+ :param other: The other object to compare.
1459
+ :returns: A value that indicates the relative order of the objects being compared.'''
1460
+ ...
1461
+
1462
+ @property
1463
+ def unit_type(self) -> aspose.html.drawing.UnitType:
1464
+ ...
1465
+
1466
+ ...
1467
+
1468
+ class LengthOrAuto(Unit):
1469
+ '''Represents a container for storage length or 'auto' units..'''
1470
+
1471
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
1472
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
1473
+
1474
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
1475
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
1476
+ ...
1477
+
1478
+ @staticmethod
1479
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
1480
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
1481
+
1482
+ :param value: The value.
1483
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1484
+ ...
1485
+
1486
+ @staticmethod
1487
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
1488
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
1489
+
1490
+ :param value: The value.
1491
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1492
+ ...
1493
+
1494
+ @staticmethod
1495
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
1496
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
1497
+
1498
+ :param value: The value.
1499
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1500
+ ...
1501
+
1502
+ @staticmethod
1503
+ def from_inches(value : float) -> aspose.html.drawing.Length:
1504
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
1505
+
1506
+ :param value: The value.
1507
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1508
+ ...
1509
+
1510
+ @staticmethod
1511
+ def from_picas(value : float) -> aspose.html.drawing.Length:
1512
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
1513
+
1514
+ :param value: The value.
1515
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1516
+ ...
1517
+
1518
+ @staticmethod
1519
+ def from_points(value : float) -> aspose.html.drawing.Length:
1520
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
1521
+
1522
+ :param value: The value.
1523
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1524
+ ...
1525
+
1526
+ @staticmethod
1527
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
1528
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
1529
+
1530
+ :param value: The value.
1531
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1532
+ ...
1533
+
1534
+ @staticmethod
1535
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
1536
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
1537
+
1538
+ :param value: The value.
1539
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1540
+ ...
1541
+
1542
+ @staticmethod
1543
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
1544
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
1545
+
1546
+ :param value: The value.
1547
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1548
+ ...
1549
+
1550
+ @staticmethod
1551
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
1552
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
1553
+
1554
+ :param value: The value.
1555
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1556
+ ...
1557
+
1558
+ @staticmethod
1559
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
1560
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
1561
+
1562
+ :param value: The value.
1563
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1564
+ ...
1565
+
1566
+ @staticmethod
1567
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
1568
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
1569
+
1570
+ :param value: The value.
1571
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1572
+ ...
1573
+
1574
+ @staticmethod
1575
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
1576
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
1577
+
1578
+ :param value: The value.
1579
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1580
+ ...
1581
+
1582
+ @staticmethod
1583
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
1584
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
1585
+
1586
+ :param value: The value.
1587
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1588
+ ...
1589
+
1590
+ @staticmethod
1591
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
1592
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
1593
+
1594
+ :param value: The value.
1595
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1596
+ ...
1597
+
1598
+ @staticmethod
1599
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
1600
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
1601
+
1602
+ :param value: The value.
1603
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1604
+ ...
1605
+
1606
+ @staticmethod
1607
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
1608
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
1609
+
1610
+ :param value: The value.
1611
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1612
+ ...
1613
+
1614
+ @staticmethod
1615
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
1616
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
1617
+
1618
+ :param value: The value.
1619
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1620
+ ...
1621
+
1622
+ def set_auto(self):
1623
+ '''Resets container to state 'auto'.'''
1624
+ ...
1625
+
1626
+ @property
1627
+ def unit_type(self) -> aspose.html.drawing.UnitType:
1628
+ ...
1629
+
1630
+ @property
1631
+ def length(self) -> aspose.html.drawing.Length:
1632
+ '''Gets the length.'''
1633
+ ...
1634
+
1635
+ @length.setter
1636
+ def length(self, value : aspose.html.drawing.Length):
1637
+ '''Sets the length.'''
1638
+ ...
1639
+
1640
+ @property
1641
+ def is_auto(self) -> bool:
1642
+ ...
1643
+
1644
+ ...
1645
+
1646
+ class Margin:
1647
+ '''Represents page margin.'''
1648
+
1649
+ @property
1650
+ def top(self) -> aspose.html.drawing.LengthOrAuto:
1651
+ '''Gets the top.'''
1652
+ ...
1653
+
1654
+ @top.setter
1655
+ def top(self, value : aspose.html.drawing.LengthOrAuto):
1656
+ '''Sets the top.'''
1657
+ ...
1658
+
1659
+ @property
1660
+ def right(self) -> aspose.html.drawing.LengthOrAuto:
1661
+ '''Gets the right.'''
1662
+ ...
1663
+
1664
+ @right.setter
1665
+ def right(self, value : aspose.html.drawing.LengthOrAuto):
1666
+ '''Sets the right.'''
1667
+ ...
1668
+
1669
+ @property
1670
+ def bottom(self) -> aspose.html.drawing.LengthOrAuto:
1671
+ '''Gets the bottom.'''
1672
+ ...
1673
+
1674
+ @bottom.setter
1675
+ def bottom(self, value : aspose.html.drawing.LengthOrAuto):
1676
+ '''Sets the bottom.'''
1677
+ ...
1678
+
1679
+ @property
1680
+ def left(self) -> aspose.html.drawing.LengthOrAuto:
1681
+ '''Gets the left.'''
1682
+ ...
1683
+
1684
+ @left.setter
1685
+ def left(self, value : aspose.html.drawing.LengthOrAuto):
1686
+ '''Sets the left.'''
1687
+ ...
1688
+
1689
+ ...
1690
+
1691
+ class Numeric(Unit):
1692
+ '''Provides the base class for numeric types.'''
1693
+
1694
+ @overload
1695
+ def get_value(self) -> float:
1696
+ '''Gets the unit value.
1697
+
1698
+ :returns: The object value.'''
1699
+ ...
1700
+
1701
+ @overload
1702
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
1703
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
1704
+
1705
+ :param unit_type: Type of the unit.
1706
+ :returns: Returns value that is converted to specified type.'''
1707
+ ...
1708
+
1709
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
1710
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
1711
+
1712
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
1713
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
1714
+ ...
1715
+
1716
+ @staticmethod
1717
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
1718
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
1719
+
1720
+ :param value: The value.
1721
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1722
+ ...
1723
+
1724
+ @staticmethod
1725
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
1726
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
1727
+
1728
+ :param value: The value.
1729
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1730
+ ...
1731
+
1732
+ @staticmethod
1733
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
1734
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
1735
+
1736
+ :param value: The value.
1737
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1738
+ ...
1739
+
1740
+ @staticmethod
1741
+ def from_inches(value : float) -> aspose.html.drawing.Length:
1742
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
1743
+
1744
+ :param value: The value.
1745
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1746
+ ...
1747
+
1748
+ @staticmethod
1749
+ def from_picas(value : float) -> aspose.html.drawing.Length:
1750
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
1751
+
1752
+ :param value: The value.
1753
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1754
+ ...
1755
+
1756
+ @staticmethod
1757
+ def from_points(value : float) -> aspose.html.drawing.Length:
1758
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
1759
+
1760
+ :param value: The value.
1761
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1762
+ ...
1763
+
1764
+ @staticmethod
1765
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
1766
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
1767
+
1768
+ :param value: The value.
1769
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1770
+ ...
1771
+
1772
+ @staticmethod
1773
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
1774
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
1775
+
1776
+ :param value: The value.
1777
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1778
+ ...
1779
+
1780
+ @staticmethod
1781
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
1782
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
1783
+
1784
+ :param value: The value.
1785
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1786
+ ...
1787
+
1788
+ @staticmethod
1789
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
1790
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
1791
+
1792
+ :param value: The value.
1793
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1794
+ ...
1795
+
1796
+ @staticmethod
1797
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
1798
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
1799
+
1800
+ :param value: The value.
1801
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1802
+ ...
1803
+
1804
+ @staticmethod
1805
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
1806
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
1807
+
1808
+ :param value: The value.
1809
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1810
+ ...
1811
+
1812
+ @staticmethod
1813
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
1814
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
1815
+
1816
+ :param value: The value.
1817
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1818
+ ...
1819
+
1820
+ @staticmethod
1821
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
1822
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
1823
+
1824
+ :param value: The value.
1825
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1826
+ ...
1827
+
1828
+ @staticmethod
1829
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
1830
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
1831
+
1832
+ :param value: The value.
1833
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1834
+ ...
1835
+
1836
+ @staticmethod
1837
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
1838
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
1839
+
1840
+ :param value: The value.
1841
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1842
+ ...
1843
+
1844
+ @staticmethod
1845
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
1846
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
1847
+
1848
+ :param value: The value.
1849
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1850
+ ...
1851
+
1852
+ @staticmethod
1853
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
1854
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
1855
+
1856
+ :param value: The value.
1857
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1858
+ ...
1859
+
1860
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
1861
+ '''Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
1862
+
1863
+ :param other: The other object to compare.
1864
+ :returns: A value that indicates the relative order of the objects being compared.'''
1865
+ ...
1866
+
1867
+ @property
1868
+ def unit_type(self) -> aspose.html.drawing.UnitType:
1869
+ ...
1870
+
1871
+ ...
1872
+
1873
+ class Page:
1874
+ '''Represents a page object is used for configuration output page.
1875
+ The lacuna value for page size is A4(210x297mm)'''
1876
+
1877
+ @property
1878
+ def size(self) -> aspose.html.drawing.Size:
1879
+ '''Gets the page size.'''
1880
+ ...
1881
+
1882
+ @size.setter
1883
+ def size(self, value : aspose.html.drawing.Size):
1884
+ '''Sets the page size.'''
1885
+ ...
1886
+
1887
+ @property
1888
+ def margin(self) -> aspose.html.drawing.Margin:
1889
+ '''Gets the page margin.'''
1890
+ ...
1891
+
1892
+ @margin.setter
1893
+ def margin(self, value : aspose.html.drawing.Margin):
1894
+ '''Sets the page margin.'''
1895
+ ...
1896
+
1897
+ ...
1898
+
1899
+ class Resolution(Dimension):
1900
+ '''Represents a resolution unit.'''
1901
+
1902
+ @overload
1903
+ def get_value(self) -> float:
1904
+ '''Gets the unit value.
1905
+
1906
+ :returns: The object value.'''
1907
+ ...
1908
+
1909
+ @overload
1910
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
1911
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
1912
+
1913
+ :param unit_type: Type of the unit.
1914
+ :returns: Returns value that is converted to specified type.'''
1915
+ ...
1916
+
1917
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
1918
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
1919
+
1920
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
1921
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
1922
+ ...
1923
+
1924
+ @staticmethod
1925
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
1926
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
1927
+
1928
+ :param value: The value.
1929
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1930
+ ...
1931
+
1932
+ @staticmethod
1933
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
1934
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
1935
+
1936
+ :param value: The value.
1937
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1938
+ ...
1939
+
1940
+ @staticmethod
1941
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
1942
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
1943
+
1944
+ :param value: The value.
1945
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1946
+ ...
1947
+
1948
+ @staticmethod
1949
+ def from_inches(value : float) -> aspose.html.drawing.Length:
1950
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
1951
+
1952
+ :param value: The value.
1953
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1954
+ ...
1955
+
1956
+ @staticmethod
1957
+ def from_picas(value : float) -> aspose.html.drawing.Length:
1958
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
1959
+
1960
+ :param value: The value.
1961
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1962
+ ...
1963
+
1964
+ @staticmethod
1965
+ def from_points(value : float) -> aspose.html.drawing.Length:
1966
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
1967
+
1968
+ :param value: The value.
1969
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1970
+ ...
1971
+
1972
+ @staticmethod
1973
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
1974
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
1975
+
1976
+ :param value: The value.
1977
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1978
+ ...
1979
+
1980
+ @staticmethod
1981
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
1982
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
1983
+
1984
+ :param value: The value.
1985
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1986
+ ...
1987
+
1988
+ @staticmethod
1989
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
1990
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
1991
+
1992
+ :param value: The value.
1993
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1994
+ ...
1995
+
1996
+ @staticmethod
1997
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
1998
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
1999
+
2000
+ :param value: The value.
2001
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2002
+ ...
2003
+
2004
+ @staticmethod
2005
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
2006
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
2007
+
2008
+ :param value: The value.
2009
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2010
+ ...
2011
+
2012
+ @staticmethod
2013
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
2014
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
2015
+
2016
+ :param value: The value.
2017
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2018
+ ...
2019
+
2020
+ @staticmethod
2021
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
2022
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
2023
+
2024
+ :param value: The value.
2025
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2026
+ ...
2027
+
2028
+ @staticmethod
2029
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
2030
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
2031
+
2032
+ :param value: The value.
2033
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2034
+ ...
2035
+
2036
+ @staticmethod
2037
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
2038
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
2039
+
2040
+ :param value: The value.
2041
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2042
+ ...
2043
+
2044
+ @staticmethod
2045
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
2046
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
2047
+
2048
+ :param value: The value.
2049
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2050
+ ...
2051
+
2052
+ @staticmethod
2053
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
2054
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
2055
+
2056
+ :param value: The value.
2057
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2058
+ ...
2059
+
2060
+ @staticmethod
2061
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
2062
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
2063
+
2064
+ :param value: The value.
2065
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2066
+ ...
2067
+
2068
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
2069
+ '''Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
2070
+
2071
+ :param other: The other object to compare.
2072
+ :returns: A value that indicates the relative order of the objects being compared.'''
2073
+ ...
2074
+
2075
+ @property
2076
+ def unit_type(self) -> aspose.html.drawing.UnitType:
2077
+ ...
2078
+
2079
+ ...
2080
+
2081
+ class Size:
2082
+ '''Stores a values which specify a Height and Width.'''
2083
+
2084
+ @property
2085
+ def height(self) -> aspose.html.drawing.Length:
2086
+ '''Gets the vertical component of this :py:class:`aspose.html.drawing.Size`.'''
2087
+ ...
2088
+
2089
+ @height.setter
2090
+ def height(self, value : aspose.html.drawing.Length):
2091
+ '''Sets the vertical component of this :py:class:`aspose.html.drawing.Size`.'''
2092
+ ...
2093
+
2094
+ @property
2095
+ def width(self) -> aspose.html.drawing.Length:
2096
+ '''Gets the horizontal component of this :py:class:`aspose.html.drawing.Size`.'''
2097
+ ...
2098
+
2099
+ @width.setter
2100
+ def width(self, value : aspose.html.drawing.Length):
2101
+ '''Sets the horizontal component of this :py:class:`aspose.html.drawing.Size`.'''
2102
+ ...
2103
+
2104
+ ...
2105
+
2106
+ class Time(Dimension):
2107
+ '''Represents a time unit.'''
2108
+
2109
+ @overload
2110
+ def get_value(self) -> float:
2111
+ '''Gets the unit value.
2112
+
2113
+ :returns: The object value.'''
2114
+ ...
2115
+
2116
+ @overload
2117
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
2118
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
2119
+
2120
+ :param unit_type: Type of the unit.
2121
+ :returns: Returns value that is converted to specified type.'''
2122
+ ...
2123
+
2124
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
2125
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
2126
+
2127
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
2128
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
2129
+ ...
2130
+
2131
+ @staticmethod
2132
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
2133
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
2134
+
2135
+ :param value: The value.
2136
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2137
+ ...
2138
+
2139
+ @staticmethod
2140
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
2141
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
2142
+
2143
+ :param value: The value.
2144
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2145
+ ...
2146
+
2147
+ @staticmethod
2148
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
2149
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
2150
+
2151
+ :param value: The value.
2152
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2153
+ ...
2154
+
2155
+ @staticmethod
2156
+ def from_inches(value : float) -> aspose.html.drawing.Length:
2157
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
2158
+
2159
+ :param value: The value.
2160
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2161
+ ...
2162
+
2163
+ @staticmethod
2164
+ def from_picas(value : float) -> aspose.html.drawing.Length:
2165
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
2166
+
2167
+ :param value: The value.
2168
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2169
+ ...
2170
+
2171
+ @staticmethod
2172
+ def from_points(value : float) -> aspose.html.drawing.Length:
2173
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
2174
+
2175
+ :param value: The value.
2176
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2177
+ ...
2178
+
2179
+ @staticmethod
2180
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
2181
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
2182
+
2183
+ :param value: The value.
2184
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2185
+ ...
2186
+
2187
+ @staticmethod
2188
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
2189
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
2190
+
2191
+ :param value: The value.
2192
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2193
+ ...
2194
+
2195
+ @staticmethod
2196
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
2197
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
2198
+
2199
+ :param value: The value.
2200
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2201
+ ...
2202
+
2203
+ @staticmethod
2204
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
2205
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
2206
+
2207
+ :param value: The value.
2208
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2209
+ ...
2210
+
2211
+ @staticmethod
2212
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
2213
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
2214
+
2215
+ :param value: The value.
2216
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2217
+ ...
2218
+
2219
+ @staticmethod
2220
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
2221
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
2222
+
2223
+ :param value: The value.
2224
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2225
+ ...
2226
+
2227
+ @staticmethod
2228
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
2229
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
2230
+
2231
+ :param value: The value.
2232
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2233
+ ...
2234
+
2235
+ @staticmethod
2236
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
2237
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
2238
+
2239
+ :param value: The value.
2240
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2241
+ ...
2242
+
2243
+ @staticmethod
2244
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
2245
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
2246
+
2247
+ :param value: The value.
2248
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2249
+ ...
2250
+
2251
+ @staticmethod
2252
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
2253
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
2254
+
2255
+ :param value: The value.
2256
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2257
+ ...
2258
+
2259
+ @staticmethod
2260
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
2261
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
2262
+
2263
+ :param value: The value.
2264
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2265
+ ...
2266
+
2267
+ @staticmethod
2268
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
2269
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
2270
+
2271
+ :param value: The value.
2272
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2273
+ ...
2274
+
2275
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
2276
+ '''Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.
2277
+
2278
+ :param other: The other object to compare.
2279
+ :returns: A value that indicates the relative order of the objects being compared.'''
2280
+ ...
2281
+
2282
+ @property
2283
+ def unit_type(self) -> aspose.html.drawing.UnitType:
2284
+ ...
2285
+
2286
+ ...
2287
+
2288
+ class Unit:
2289
+ '''Provides the base class for units of measurement.'''
2290
+
2291
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
2292
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
2293
+
2294
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
2295
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
2296
+ ...
2297
+
2298
+ @staticmethod
2299
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
2300
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
2301
+
2302
+ :param value: The value.
2303
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2304
+ ...
2305
+
2306
+ @staticmethod
2307
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
2308
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
2309
+
2310
+ :param value: The value.
2311
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2312
+ ...
2313
+
2314
+ @staticmethod
2315
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
2316
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
2317
+
2318
+ :param value: The value.
2319
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2320
+ ...
2321
+
2322
+ @staticmethod
2323
+ def from_inches(value : float) -> aspose.html.drawing.Length:
2324
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
2325
+
2326
+ :param value: The value.
2327
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2328
+ ...
2329
+
2330
+ @staticmethod
2331
+ def from_picas(value : float) -> aspose.html.drawing.Length:
2332
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
2333
+
2334
+ :param value: The value.
2335
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2336
+ ...
2337
+
2338
+ @staticmethod
2339
+ def from_points(value : float) -> aspose.html.drawing.Length:
2340
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
2341
+
2342
+ :param value: The value.
2343
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2344
+ ...
2345
+
2346
+ @staticmethod
2347
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
2348
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
2349
+
2350
+ :param value: The value.
2351
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2352
+ ...
2353
+
2354
+ @staticmethod
2355
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
2356
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
2357
+
2358
+ :param value: The value.
2359
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2360
+ ...
2361
+
2362
+ @staticmethod
2363
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
2364
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
2365
+
2366
+ :param value: The value.
2367
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2368
+ ...
2369
+
2370
+ @staticmethod
2371
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
2372
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
2373
+
2374
+ :param value: The value.
2375
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2376
+ ...
2377
+
2378
+ @staticmethod
2379
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
2380
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
2381
+
2382
+ :param value: The value.
2383
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2384
+ ...
2385
+
2386
+ @staticmethod
2387
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
2388
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
2389
+
2390
+ :param value: The value.
2391
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2392
+ ...
2393
+
2394
+ @staticmethod
2395
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
2396
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
2397
+
2398
+ :param value: The value.
2399
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2400
+ ...
2401
+
2402
+ @staticmethod
2403
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
2404
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
2405
+
2406
+ :param value: The value.
2407
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2408
+ ...
2409
+
2410
+ @staticmethod
2411
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
2412
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
2413
+
2414
+ :param value: The value.
2415
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2416
+ ...
2417
+
2418
+ @staticmethod
2419
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
2420
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
2421
+
2422
+ :param value: The value.
2423
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2424
+ ...
2425
+
2426
+ @staticmethod
2427
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
2428
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
2429
+
2430
+ :param value: The value.
2431
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2432
+ ...
2433
+
2434
+ @staticmethod
2435
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
2436
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
2437
+
2438
+ :param value: The value.
2439
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2440
+ ...
2441
+
2442
+ @property
2443
+ def unit_type(self) -> aspose.html.drawing.UnitType:
2444
+ ...
2445
+
2446
+ ...
2447
+
2448
+ class UnitType:
2449
+ '''Specifies the unit of measurement.'''
2450
+
2451
+ def equals(self, other : aspose.html.drawing.UnitType) -> bool:
2452
+ '''Determines whether the specified :py:class:`aspose.html.drawing.UnitType`, is equal to this instance.
2453
+
2454
+ :param other: The :py:class:`aspose.html.drawing.UnitType` to compare with this instance.
2455
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.UnitType` is equal to this instance; otherwise, ``false``.'''
2456
+ ...
2457
+
2458
+ @classmethod
2459
+ @property
2460
+ def EM(cls) -> aspose.html.drawing.UnitType:
2461
+ '''Measurement is relative to the height of the parent element's font.'''
2462
+ ...
2463
+
2464
+ @classmethod
2465
+ @property
2466
+ def EX(cls) -> aspose.html.drawing.UnitType:
2467
+ '''Measurement is relative to the height of the lowercase letter x of the parent element's font.'''
2468
+ ...
2469
+
2470
+ @classmethod
2471
+ @property
2472
+ def CH(cls) -> aspose.html.drawing.UnitType:
2473
+ '''Measurement is relative to width of the "0" (zero).'''
2474
+ ...
2475
+
2476
+ @classmethod
2477
+ @property
2478
+ def REM(cls) -> aspose.html.drawing.UnitType:
2479
+ '''Measurement is relative to font-size of the root element.'''
2480
+ ...
2481
+
2482
+ @classmethod
2483
+ @property
2484
+ def VW(cls) -> aspose.html.drawing.UnitType:
2485
+ '''Measurement is relative to 1% of the width of the viewport*'''
2486
+ ...
2487
+
2488
+ @classmethod
2489
+ @property
2490
+ def VH(cls) -> aspose.html.drawing.UnitType:
2491
+ '''Measurement is relative to 1% of the height of the viewport* Try it'''
2492
+ ...
2493
+
2494
+ @classmethod
2495
+ @property
2496
+ def VMIN(cls) -> aspose.html.drawing.UnitType:
2497
+ '''Measurement is relative to 1% of viewport's* smaller dimension Try it'''
2498
+ ...
2499
+
2500
+ @classmethod
2501
+ @property
2502
+ def VMAX(cls) -> aspose.html.drawing.UnitType:
2503
+ '''Measurement is relative to 1% of viewport's* larger dimension Try it'''
2504
+ ...
2505
+
2506
+ @classmethod
2507
+ @property
2508
+ def CM(cls) -> aspose.html.drawing.UnitType:
2509
+ '''Measurement is in centimeters'''
2510
+ ...
2511
+
2512
+ @classmethod
2513
+ @property
2514
+ def MM(cls) -> aspose.html.drawing.UnitType:
2515
+ '''Measurement is in millimeters'''
2516
+ ...
2517
+
2518
+ @classmethod
2519
+ @property
2520
+ def Q(cls) -> aspose.html.drawing.UnitType:
2521
+ '''Measurement is in quarter-millimeters'''
2522
+ ...
2523
+
2524
+ @classmethod
2525
+ @property
2526
+ def IN(cls) -> aspose.html.drawing.UnitType:
2527
+ '''Measurement is in inches'''
2528
+ ...
2529
+
2530
+ @classmethod
2531
+ @property
2532
+ def PC(cls) -> aspose.html.drawing.UnitType:
2533
+ '''Measurement is in picas'''
2534
+ ...
2535
+
2536
+ @classmethod
2537
+ @property
2538
+ def PT(cls) -> aspose.html.drawing.UnitType:
2539
+ '''Measurement is in points'''
2540
+ ...
2541
+
2542
+ @classmethod
2543
+ @property
2544
+ def PX(cls) -> aspose.html.drawing.UnitType:
2545
+ '''Measurement is in pixels'''
2546
+ ...
2547
+
2548
+ @classmethod
2549
+ @property
2550
+ def DEG(cls) -> aspose.html.drawing.UnitType:
2551
+ '''Measurement is in degrees.'''
2552
+ ...
2553
+
2554
+ @classmethod
2555
+ @property
2556
+ def GRAD(cls) -> aspose.html.drawing.UnitType:
2557
+ '''Measurement is in gradians.'''
2558
+ ...
2559
+
2560
+ @classmethod
2561
+ @property
2562
+ def RAD(cls) -> aspose.html.drawing.UnitType:
2563
+ '''Measurement is in radians.'''
2564
+ ...
2565
+
2566
+ @classmethod
2567
+ @property
2568
+ def TURN(cls) -> aspose.html.drawing.UnitType:
2569
+ '''Measurement is in turns.'''
2570
+ ...
2571
+
2572
+ @classmethod
2573
+ @property
2574
+ def S(cls) -> aspose.html.drawing.UnitType:
2575
+ '''Measurement is in seconds.'''
2576
+ ...
2577
+
2578
+ @classmethod
2579
+ @property
2580
+ def MS(cls) -> aspose.html.drawing.UnitType:
2581
+ '''Measurement is in milliseconds.'''
2582
+ ...
2583
+
2584
+ @classmethod
2585
+ @property
2586
+ def HZ(cls) -> aspose.html.drawing.UnitType:
2587
+ '''Measurement is in hertz.'''
2588
+ ...
2589
+
2590
+ @classmethod
2591
+ @property
2592
+ def K_HZ(cls) -> aspose.html.drawing.UnitType:
2593
+ ...
2594
+
2595
+ @classmethod
2596
+ @property
2597
+ def DPI(cls) -> aspose.html.drawing.UnitType:
2598
+ '''Measurement is in dots per inch.'''
2599
+ ...
2600
+
2601
+ @classmethod
2602
+ @property
2603
+ def DPCM(cls) -> aspose.html.drawing.UnitType:
2604
+ '''Measurement is in dots per centimeters.'''
2605
+ ...
2606
+
2607
+ @classmethod
2608
+ @property
2609
+ def DPPX(cls) -> aspose.html.drawing.UnitType:
2610
+ '''Measurement is in Dots per pixels unit.'''
2611
+ ...
2612
+
2613
+ @classmethod
2614
+ @property
2615
+ def AUTO(cls) -> aspose.html.drawing.UnitType:
2616
+ '''Measurement is not defined.'''
2617
+ ...
2618
+
2619
+ @classmethod
2620
+ @property
2621
+ def PERCENTAGE(cls) -> aspose.html.drawing.UnitType:
2622
+ '''Measurement is in percentage.'''
2623
+ ...
2624
+
2625
+ @classmethod
2626
+ @property
2627
+ def INTEGER(cls) -> aspose.html.drawing.UnitType:
2628
+ '''Measurement is an integer number.'''
2629
+ ...
2630
+
2631
+ @classmethod
2632
+ @property
2633
+ def REAL(cls) -> aspose.html.drawing.UnitType:
2634
+ '''Measurement is a real number.'''
2635
+ ...
2636
+
2637
+ ...
2638
+
2639
+ class BrushType:
2640
+ '''Specifies the type of brush.'''
2641
+
2642
+ @classmethod
2643
+ @property
2644
+ def SOLID(cls) -> BrushType:
2645
+ '''Type is ISolidBrush'''
2646
+ ...
2647
+
2648
+ @classmethod
2649
+ @property
2650
+ def TEXTURE(cls) -> BrushType:
2651
+ '''Type is ITextureBrush'''
2652
+ ...
2653
+
2654
+ @classmethod
2655
+ @property
2656
+ def LINEAR_GRADIENT(cls) -> BrushType:
2657
+ '''Type is ILinearGradientBrush'''
2658
+ ...
2659
+
2660
+ ...
2661
+
2662
+ class ColorModel:
2663
+ '''This enumeration is used to select the color model for working with color components.'''
2664
+
2665
+ @classmethod
2666
+ @property
2667
+ def RGB(cls) -> ColorModel:
2668
+ '''Red-Green-Blue color model'''
2669
+ ...
2670
+
2671
+ @classmethod
2672
+ @property
2673
+ def HSL(cls) -> ColorModel:
2674
+ '''Hue-Saturation-Luminosity color model'''
2675
+ ...
2676
+
2677
+ @classmethod
2678
+ @property
2679
+ def HSV(cls) -> ColorModel:
2680
+ '''Hue-Saturation-Value color model'''
2681
+ ...
2682
+
2683
+ @classmethod
2684
+ @property
2685
+ def HWB(cls) -> ColorModel:
2686
+ '''Hue-Whiteness-Blackness color model'''
2687
+ ...
2688
+
2689
+ @classmethod
2690
+ @property
2691
+ def CMYK(cls) -> ColorModel:
2692
+ '''Cyan-Magenta-Yellow-Key color model'''
2693
+ ...
2694
+
2695
+ @classmethod
2696
+ @property
2697
+ def LAB(cls) -> ColorModel:
2698
+ '''Lightness-A-B color model'''
2699
+ ...
2700
+
2701
+ @classmethod
2702
+ @property
2703
+ def OKLAB(cls) -> ColorModel:
2704
+ '''Improved Lightness-A-B model'''
2705
+ ...
2706
+
2707
+ @classmethod
2708
+ @property
2709
+ def LCH(cls) -> ColorModel:
2710
+ '''Luminance-Chroma-Hue color model'''
2711
+ ...
2712
+
2713
+ @classmethod
2714
+ @property
2715
+ def OKLCH(cls) -> ColorModel:
2716
+ '''Improved Luminance-Chroma-Hue color model'''
2717
+ ...
2718
+
2719
+ ...
2720
+