aspose-html-net 25.9.0__py3-none-macosx_10_14_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (320) hide show
  1. .__pyi_patched +0 -0
  2. aspose/__init__.py +82 -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 +42095 -0
  23. aspose/html/__nuitka/__init__.pyi +1 -0
  24. aspose/html/__nuitka/aspose-html.nuitka-package.config.yml +19 -0
  25. aspose/html/__pyinstaller/__init__.pyi +1 -0
  26. aspose/html/__pyinstaller/hook-aspose.html.py +9 -0
  27. aspose/html/accessibility/__init__.pyi +469 -0
  28. aspose/html/accessibility/results/__init__.pyi +106 -0
  29. aspose/html/accessibility/saving/__init__.pyi +78 -0
  30. aspose/html/collections/__init__.pyi +246 -0
  31. aspose/html/converters/__init__.pyi +2793 -0
  32. aspose/html/diagnostics/__init__.pyi +72 -0
  33. aspose/html/dom/__init__.pyi +6830 -0
  34. aspose/html/dom/attributes/__init__.pyi +144 -0
  35. aspose/html/dom/canvas/__init__.pyi +1103 -0
  36. aspose/html/dom/css/__init__.pyi +3488 -0
  37. aspose/html/dom/events/__init__.pyi +1397 -0
  38. aspose/html/dom/mutations/__init__.pyi +259 -0
  39. aspose/html/dom/svg/__init__.pyi +31934 -0
  40. aspose/html/dom/svg/datatypes/__init__.pyi +1247 -0
  41. aspose/html/dom/svg/events/__init__.pyi +279 -0
  42. aspose/html/dom/svg/filters/__init__.pyi +16150 -0
  43. aspose/html/dom/svg/paths/__init__.pyi +3466 -0
  44. aspose/html/dom/svg/saving/__init__.pyi +106 -0
  45. aspose/html/dom/traversal/__init__.pyi +461 -0
  46. aspose/html/dom/traversal/filters/__init__.pyi +200 -0
  47. aspose/html/dom/views/__init__.pyi +79 -0
  48. aspose/html/dom/xpath/__init__.pyi +317 -0
  49. aspose/html/drawing/__init__.pyi +3224 -0
  50. aspose/html/forms/__init__.pyi +998 -0
  51. aspose/html/io/__init__.pyi +219 -0
  52. aspose/html/loading/__init__.pyi +68 -0
  53. aspose/html/net/__init__.pyi +521 -0
  54. aspose/html/net/headers/__init__.pyi +147 -0
  55. aspose/html/net/messagefilters/__init__.pyi +67 -0
  56. aspose/html/net/messagehandlers/__init__.pyi +103 -0
  57. aspose/html/rendering/__init__.pyi +805 -0
  58. aspose/html/rendering/doc/__init__.pyi +280 -0
  59. aspose/html/rendering/fonts/__init__.pyi +90 -0
  60. aspose/html/rendering/image/__init__.pyi +291 -0
  61. aspose/html/rendering/pdf/__init__.pyi +305 -0
  62. aspose/html/rendering/pdf/encryption/__init__.pyi +171 -0
  63. aspose/html/rendering/xps/__init__.pyi +169 -0
  64. aspose/html/saving/__init__.pyi +751 -0
  65. aspose/html/saving/resourcehandlers/__init__.pyi +95 -0
  66. aspose/html/services/__init__.pyi +175 -0
  67. aspose/html/toolkit/__init__.pyi +55 -0
  68. aspose/html/toolkit/markdown/__init__.pyi +55 -0
  69. aspose/html/toolkit/markdown/syntax/__init__.pyi +6234 -0
  70. aspose/html/toolkit/markdown/syntax/extensions/__init__.pyi +549 -0
  71. aspose/html/toolkit/markdown/syntax/parser/__init__.pyi +631 -0
  72. aspose/html/toolkit/markdown/syntax/parser/extensions/__init__.pyi +55 -0
  73. aspose/html/toolkit/markdown/syntax/parser/extensions/gfm/__init__.pyi +66 -0
  74. aspose/html/toolkit/markdown/syntax/text/__init__.pyi +366 -0
  75. aspose/html/toolkit/optimizers/__init__.pyi +233 -0
  76. aspose/html/window/__init__.pyi +501 -0
  77. aspose/html.cpython-310-darwin.so +0 -0
  78. aspose/html.cpython-311-darwin.so +0 -0
  79. aspose/html.cpython-313-darwin.so +0 -0
  80. aspose/html.cpython-35m-darwin.so +0 -0
  81. aspose/html.cpython-36m-darwin.so +0 -0
  82. aspose/html.cpython-37m-darwin.so +0 -0
  83. aspose/html.cpython-38-darwin.so +0 -0
  84. aspose/html.cpython-39-darwin.so +0 -0
  85. aspose/netcore/netcore3.1/Microsoft.CSharp.dll +0 -0
  86. aspose/netcore/netcore3.1/Microsoft.VisualBasic.Core.dll +0 -0
  87. aspose/netcore/netcore3.1/Microsoft.VisualBasic.dll +0 -0
  88. aspose/netcore/netcore3.1/Microsoft.Win32.Primitives.dll +0 -0
  89. aspose/netcore/netcore3.1/Microsoft.Win32.Registry.dll +0 -0
  90. aspose/netcore/netcore3.1/SOS_README.md +5 -0
  91. aspose/netcore/netcore3.1/System.AppContext.dll +0 -0
  92. aspose/netcore/netcore3.1/System.Buffers.dll +0 -0
  93. aspose/netcore/netcore3.1/System.Collections.Concurrent.dll +0 -0
  94. aspose/netcore/netcore3.1/System.Collections.Immutable.dll +0 -0
  95. aspose/netcore/netcore3.1/System.Collections.NonGeneric.dll +0 -0
  96. aspose/netcore/netcore3.1/System.Collections.Specialized.dll +0 -0
  97. aspose/netcore/netcore3.1/System.Collections.dll +0 -0
  98. aspose/netcore/netcore3.1/System.ComponentModel.Annotations.dll +0 -0
  99. aspose/netcore/netcore3.1/System.ComponentModel.DataAnnotations.dll +0 -0
  100. aspose/netcore/netcore3.1/System.ComponentModel.EventBasedAsync.dll +0 -0
  101. aspose/netcore/netcore3.1/System.ComponentModel.Primitives.dll +0 -0
  102. aspose/netcore/netcore3.1/System.ComponentModel.TypeConverter.dll +0 -0
  103. aspose/netcore/netcore3.1/System.ComponentModel.dll +0 -0
  104. aspose/netcore/netcore3.1/System.Configuration.dll +0 -0
  105. aspose/netcore/netcore3.1/System.Console.dll +0 -0
  106. aspose/netcore/netcore3.1/System.Core.dll +0 -0
  107. aspose/netcore/netcore3.1/System.Data.Common.dll +0 -0
  108. aspose/netcore/netcore3.1/System.Data.DataSetExtensions.dll +0 -0
  109. aspose/netcore/netcore3.1/System.Data.dll +0 -0
  110. aspose/netcore/netcore3.1/System.Diagnostics.Contracts.dll +0 -0
  111. aspose/netcore/netcore3.1/System.Diagnostics.Debug.dll +0 -0
  112. aspose/netcore/netcore3.1/System.Diagnostics.DiagnosticSource.dll +0 -0
  113. aspose/netcore/netcore3.1/System.Diagnostics.FileVersionInfo.dll +0 -0
  114. aspose/netcore/netcore3.1/System.Diagnostics.Process.dll +0 -0
  115. aspose/netcore/netcore3.1/System.Diagnostics.StackTrace.dll +0 -0
  116. aspose/netcore/netcore3.1/System.Diagnostics.TextWriterTraceListener.dll +0 -0
  117. aspose/netcore/netcore3.1/System.Diagnostics.Tools.dll +0 -0
  118. aspose/netcore/netcore3.1/System.Diagnostics.TraceSource.dll +0 -0
  119. aspose/netcore/netcore3.1/System.Diagnostics.Tracing.dll +0 -0
  120. aspose/netcore/netcore3.1/System.Drawing.Primitives.dll +0 -0
  121. aspose/netcore/netcore3.1/System.Drawing.dll +0 -0
  122. aspose/netcore/netcore3.1/System.Dynamic.Runtime.dll +0 -0
  123. aspose/netcore/netcore3.1/System.Globalization.Calendars.dll +0 -0
  124. aspose/netcore/netcore3.1/System.Globalization.Extensions.dll +0 -0
  125. aspose/netcore/netcore3.1/System.Globalization.Native.dylib +0 -0
  126. aspose/netcore/netcore3.1/System.Globalization.dll +0 -0
  127. aspose/netcore/netcore3.1/System.IO.Compression.Brotli.dll +0 -0
  128. aspose/netcore/netcore3.1/System.IO.Compression.FileSystem.dll +0 -0
  129. aspose/netcore/netcore3.1/System.IO.Compression.Native.a +0 -0
  130. aspose/netcore/netcore3.1/System.IO.Compression.Native.dylib +0 -0
  131. aspose/netcore/netcore3.1/System.IO.Compression.ZipFile.dll +0 -0
  132. aspose/netcore/netcore3.1/System.IO.Compression.dll +0 -0
  133. aspose/netcore/netcore3.1/System.IO.FileSystem.AccessControl.dll +0 -0
  134. aspose/netcore/netcore3.1/System.IO.FileSystem.DriveInfo.dll +0 -0
  135. aspose/netcore/netcore3.1/System.IO.FileSystem.Primitives.dll +0 -0
  136. aspose/netcore/netcore3.1/System.IO.FileSystem.Watcher.dll +0 -0
  137. aspose/netcore/netcore3.1/System.IO.FileSystem.dll +0 -0
  138. aspose/netcore/netcore3.1/System.IO.IsolatedStorage.dll +0 -0
  139. aspose/netcore/netcore3.1/System.IO.MemoryMappedFiles.dll +0 -0
  140. aspose/netcore/netcore3.1/System.IO.Pipes.AccessControl.dll +0 -0
  141. aspose/netcore/netcore3.1/System.IO.Pipes.dll +0 -0
  142. aspose/netcore/netcore3.1/System.IO.UnmanagedMemoryStream.dll +0 -0
  143. aspose/netcore/netcore3.1/System.IO.dll +0 -0
  144. aspose/netcore/netcore3.1/System.Linq.Expressions.dll +0 -0
  145. aspose/netcore/netcore3.1/System.Linq.Parallel.dll +0 -0
  146. aspose/netcore/netcore3.1/System.Linq.Queryable.dll +0 -0
  147. aspose/netcore/netcore3.1/System.Linq.dll +0 -0
  148. aspose/netcore/netcore3.1/System.Memory.dll +0 -0
  149. aspose/netcore/netcore3.1/System.Native.a +0 -0
  150. aspose/netcore/netcore3.1/System.Native.dylib +0 -0
  151. aspose/netcore/netcore3.1/System.Net.Http.Native.a +0 -0
  152. aspose/netcore/netcore3.1/System.Net.Http.Native.dylib +0 -0
  153. aspose/netcore/netcore3.1/System.Net.Http.dll +0 -0
  154. aspose/netcore/netcore3.1/System.Net.HttpListener.dll +0 -0
  155. aspose/netcore/netcore3.1/System.Net.Mail.dll +0 -0
  156. aspose/netcore/netcore3.1/System.Net.NameResolution.dll +0 -0
  157. aspose/netcore/netcore3.1/System.Net.NetworkInformation.dll +0 -0
  158. aspose/netcore/netcore3.1/System.Net.Ping.dll +0 -0
  159. aspose/netcore/netcore3.1/System.Net.Primitives.dll +0 -0
  160. aspose/netcore/netcore3.1/System.Net.Requests.dll +0 -0
  161. aspose/netcore/netcore3.1/System.Net.Security.Native.a +0 -0
  162. aspose/netcore/netcore3.1/System.Net.Security.Native.dylib +0 -0
  163. aspose/netcore/netcore3.1/System.Net.Security.dll +0 -0
  164. aspose/netcore/netcore3.1/System.Net.ServicePoint.dll +0 -0
  165. aspose/netcore/netcore3.1/System.Net.Sockets.dll +0 -0
  166. aspose/netcore/netcore3.1/System.Net.WebClient.dll +0 -0
  167. aspose/netcore/netcore3.1/System.Net.WebHeaderCollection.dll +0 -0
  168. aspose/netcore/netcore3.1/System.Net.WebProxy.dll +0 -0
  169. aspose/netcore/netcore3.1/System.Net.WebSockets.Client.dll +0 -0
  170. aspose/netcore/netcore3.1/System.Net.WebSockets.dll +0 -0
  171. aspose/netcore/netcore3.1/System.Net.dll +0 -0
  172. aspose/netcore/netcore3.1/System.Numerics.Vectors.dll +0 -0
  173. aspose/netcore/netcore3.1/System.Numerics.dll +0 -0
  174. aspose/netcore/netcore3.1/System.ObjectModel.dll +0 -0
  175. aspose/netcore/netcore3.1/System.Private.CoreLib.dll +0 -0
  176. aspose/netcore/netcore3.1/System.Private.DataContractSerialization.dll +0 -0
  177. aspose/netcore/netcore3.1/System.Private.Uri.dll +0 -0
  178. aspose/netcore/netcore3.1/System.Private.Xml.Linq.dll +0 -0
  179. aspose/netcore/netcore3.1/System.Private.Xml.dll +0 -0
  180. aspose/netcore/netcore3.1/System.Reflection.DispatchProxy.dll +0 -0
  181. aspose/netcore/netcore3.1/System.Reflection.Emit.ILGeneration.dll +0 -0
  182. aspose/netcore/netcore3.1/System.Reflection.Emit.Lightweight.dll +0 -0
  183. aspose/netcore/netcore3.1/System.Reflection.Emit.dll +0 -0
  184. aspose/netcore/netcore3.1/System.Reflection.Extensions.dll +0 -0
  185. aspose/netcore/netcore3.1/System.Reflection.Metadata.dll +0 -0
  186. aspose/netcore/netcore3.1/System.Reflection.Primitives.dll +0 -0
  187. aspose/netcore/netcore3.1/System.Reflection.TypeExtensions.dll +0 -0
  188. aspose/netcore/netcore3.1/System.Reflection.dll +0 -0
  189. aspose/netcore/netcore3.1/System.Resources.Reader.dll +0 -0
  190. aspose/netcore/netcore3.1/System.Resources.ResourceManager.dll +0 -0
  191. aspose/netcore/netcore3.1/System.Resources.Writer.dll +0 -0
  192. aspose/netcore/netcore3.1/System.Runtime.CompilerServices.Unsafe.dll +0 -0
  193. aspose/netcore/netcore3.1/System.Runtime.CompilerServices.VisualC.dll +0 -0
  194. aspose/netcore/netcore3.1/System.Runtime.Extensions.dll +0 -0
  195. aspose/netcore/netcore3.1/System.Runtime.Handles.dll +0 -0
  196. aspose/netcore/netcore3.1/System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
  197. aspose/netcore/netcore3.1/System.Runtime.InteropServices.WindowsRuntime.dll +0 -0
  198. aspose/netcore/netcore3.1/System.Runtime.InteropServices.dll +0 -0
  199. aspose/netcore/netcore3.1/System.Runtime.Intrinsics.dll +0 -0
  200. aspose/netcore/netcore3.1/System.Runtime.Loader.dll +0 -0
  201. aspose/netcore/netcore3.1/System.Runtime.Numerics.dll +0 -0
  202. aspose/netcore/netcore3.1/System.Runtime.Serialization.Formatters.dll +0 -0
  203. aspose/netcore/netcore3.1/System.Runtime.Serialization.Json.dll +0 -0
  204. aspose/netcore/netcore3.1/System.Runtime.Serialization.Primitives.dll +0 -0
  205. aspose/netcore/netcore3.1/System.Runtime.Serialization.Xml.dll +0 -0
  206. aspose/netcore/netcore3.1/System.Runtime.Serialization.dll +0 -0
  207. aspose/netcore/netcore3.1/System.Runtime.WindowsRuntime.UI.Xaml.dll +0 -0
  208. aspose/netcore/netcore3.1/System.Runtime.WindowsRuntime.dll +0 -0
  209. aspose/netcore/netcore3.1/System.Runtime.dll +0 -0
  210. aspose/netcore/netcore3.1/System.Security.AccessControl.dll +0 -0
  211. aspose/netcore/netcore3.1/System.Security.Claims.dll +0 -0
  212. aspose/netcore/netcore3.1/System.Security.Cryptography.Algorithms.dll +0 -0
  213. aspose/netcore/netcore3.1/System.Security.Cryptography.Cng.dll +0 -0
  214. aspose/netcore/netcore3.1/System.Security.Cryptography.Csp.dll +0 -0
  215. aspose/netcore/netcore3.1/System.Security.Cryptography.Encoding.dll +0 -0
  216. aspose/netcore/netcore3.1/System.Security.Cryptography.Native.Apple.a +0 -0
  217. aspose/netcore/netcore3.1/System.Security.Cryptography.Native.Apple.dylib +0 -0
  218. aspose/netcore/netcore3.1/System.Security.Cryptography.Native.OpenSsl.a +0 -0
  219. aspose/netcore/netcore3.1/System.Security.Cryptography.Native.OpenSsl.dylib +0 -0
  220. aspose/netcore/netcore3.1/System.Security.Cryptography.OpenSsl.dll +0 -0
  221. aspose/netcore/netcore3.1/System.Security.Cryptography.Primitives.dll +0 -0
  222. aspose/netcore/netcore3.1/System.Security.Cryptography.X509Certificates.dll +0 -0
  223. aspose/netcore/netcore3.1/System.Security.Principal.Windows.dll +0 -0
  224. aspose/netcore/netcore3.1/System.Security.Principal.dll +0 -0
  225. aspose/netcore/netcore3.1/System.Security.SecureString.dll +0 -0
  226. aspose/netcore/netcore3.1/System.Security.dll +0 -0
  227. aspose/netcore/netcore3.1/System.ServiceModel.Web.dll +0 -0
  228. aspose/netcore/netcore3.1/System.ServiceProcess.dll +0 -0
  229. aspose/netcore/netcore3.1/System.Text.Encoding.CodePages.dll +0 -0
  230. aspose/netcore/netcore3.1/System.Text.Encoding.Extensions.dll +0 -0
  231. aspose/netcore/netcore3.1/System.Text.Encoding.dll +0 -0
  232. aspose/netcore/netcore3.1/System.Text.Encodings.Web.dll +0 -0
  233. aspose/netcore/netcore3.1/System.Text.Json.dll +0 -0
  234. aspose/netcore/netcore3.1/System.Text.RegularExpressions.dll +0 -0
  235. aspose/netcore/netcore3.1/System.Threading.Channels.dll +0 -0
  236. aspose/netcore/netcore3.1/System.Threading.Overlapped.dll +0 -0
  237. aspose/netcore/netcore3.1/System.Threading.Tasks.Dataflow.dll +0 -0
  238. aspose/netcore/netcore3.1/System.Threading.Tasks.Extensions.dll +0 -0
  239. aspose/netcore/netcore3.1/System.Threading.Tasks.Parallel.dll +0 -0
  240. aspose/netcore/netcore3.1/System.Threading.Tasks.dll +0 -0
  241. aspose/netcore/netcore3.1/System.Threading.Thread.dll +0 -0
  242. aspose/netcore/netcore3.1/System.Threading.ThreadPool.dll +0 -0
  243. aspose/netcore/netcore3.1/System.Threading.Timer.dll +0 -0
  244. aspose/netcore/netcore3.1/System.Threading.dll +0 -0
  245. aspose/netcore/netcore3.1/System.Transactions.Local.dll +0 -0
  246. aspose/netcore/netcore3.1/System.Transactions.dll +0 -0
  247. aspose/netcore/netcore3.1/System.ValueTuple.dll +0 -0
  248. aspose/netcore/netcore3.1/System.Web.HttpUtility.dll +0 -0
  249. aspose/netcore/netcore3.1/System.Web.dll +0 -0
  250. aspose/netcore/netcore3.1/System.Windows.dll +0 -0
  251. aspose/netcore/netcore3.1/System.Xml.Linq.dll +0 -0
  252. aspose/netcore/netcore3.1/System.Xml.ReaderWriter.dll +0 -0
  253. aspose/netcore/netcore3.1/System.Xml.Serialization.dll +0 -0
  254. aspose/netcore/netcore3.1/System.Xml.XDocument.dll +0 -0
  255. aspose/netcore/netcore3.1/System.Xml.XPath.XDocument.dll +0 -0
  256. aspose/netcore/netcore3.1/System.Xml.XPath.dll +0 -0
  257. aspose/netcore/netcore3.1/System.Xml.XmlDocument.dll +0 -0
  258. aspose/netcore/netcore3.1/System.Xml.XmlSerializer.dll +0 -0
  259. aspose/netcore/netcore3.1/System.Xml.dll +0 -0
  260. aspose/netcore/netcore3.1/System.dll +0 -0
  261. aspose/netcore/netcore3.1/WindowsBase.dll +0 -0
  262. aspose/netcore/netcore3.1/libaspose.embed.coreclrwrap.dylib +0 -0
  263. aspose/netcore/netcore3.1/libclrjit.dylib +0 -0
  264. aspose/netcore/netcore3.1/libcoreclr.dylib +0 -0
  265. aspose/netcore/netcore3.1/libdbgshim.dylib +0 -0
  266. aspose/netcore/netcore3.1/libhostfxr.dylib +0 -0
  267. aspose/netcore/netcore3.1/libhostpolicy.dylib +0 -0
  268. aspose/netcore/netcore3.1/libmscordaccore.dylib +0 -0
  269. aspose/netcore/netcore3.1/libmscordbi.dylib +0 -0
  270. aspose/netcore/netcore3.1/mscorlib.dll +0 -0
  271. aspose/netcore/netcore3.1/netstandard.dll +0 -0
  272. aspose/pycore/__init__.pyi +56 -0
  273. aspose/pycore/__pyinstaller/__init__.pyi +1 -0
  274. aspose/pycore/__pyinstaller/hook-aspose.pycore.py +11 -0
  275. aspose/pycore.cpython-310-darwin.so +0 -0
  276. aspose/pycore.cpython-311-darwin.so +0 -0
  277. aspose/pycore.cpython-313-darwin.so +0 -0
  278. aspose/pycore.cpython-35m-darwin.so +0 -0
  279. aspose/pycore.cpython-36m-darwin.so +0 -0
  280. aspose/pycore.cpython-37m-darwin.so +0 -0
  281. aspose/pycore.cpython-38-darwin.so +0 -0
  282. aspose/pycore.cpython-39-darwin.so +0 -0
  283. aspose/pydrawing/__init__.pyi +8 -0
  284. aspose/pydrawing/__pyinstaller/__init__.pyi +1 -0
  285. aspose/pydrawing/__pyinstaller/hook-aspose.pydrawing.py +9 -0
  286. aspose/pydrawing.cpython-310-darwin.so +0 -0
  287. aspose/pydrawing.cpython-311-darwin.so +0 -0
  288. aspose/pydrawing.cpython-313-darwin.so +0 -0
  289. aspose/pydrawing.cpython-35m-darwin.so +0 -0
  290. aspose/pydrawing.cpython-36m-darwin.so +0 -0
  291. aspose/pydrawing.cpython-37m-darwin.so +0 -0
  292. aspose/pydrawing.cpython-38-darwin.so +0 -0
  293. aspose/pydrawing.cpython-39-darwin.so +0 -0
  294. aspose/pygc/__init__.pyi +8 -0
  295. aspose/pygc/__pyinstaller/__init__.pyi +1 -0
  296. aspose/pygc/__pyinstaller/hook-aspose.pygc.py +9 -0
  297. aspose/pygc.cpython-310-darwin.so +0 -0
  298. aspose/pygc.cpython-311-darwin.so +0 -0
  299. aspose/pygc.cpython-313-darwin.so +0 -0
  300. aspose/pygc.cpython-35m-darwin.so +0 -0
  301. aspose/pygc.cpython-36m-darwin.so +0 -0
  302. aspose/pygc.cpython-37m-darwin.so +0 -0
  303. aspose/pygc.cpython-38-darwin.so +0 -0
  304. aspose/pygc.cpython-39-darwin.so +0 -0
  305. aspose/pyreflection/__init__.pyi +8 -0
  306. aspose/pyreflection/__pyinstaller/__init__.pyi +1 -0
  307. aspose/pyreflection/__pyinstaller/hook-aspose.pyreflection.py +9 -0
  308. aspose/pyreflection.cpython-310-darwin.so +0 -0
  309. aspose/pyreflection.cpython-311-darwin.so +0 -0
  310. aspose/pyreflection.cpython-313-darwin.so +0 -0
  311. aspose/pyreflection.cpython-35m-darwin.so +0 -0
  312. aspose/pyreflection.cpython-36m-darwin.so +0 -0
  313. aspose/pyreflection.cpython-37m-darwin.so +0 -0
  314. aspose/pyreflection.cpython-38-darwin.so +0 -0
  315. aspose/pyreflection.cpython-39-darwin.so +0 -0
  316. aspose_html_net-25.9.0.dist-info/METADATA +223 -0
  317. aspose_html_net-25.9.0.dist-info/RECORD +319 -0
  318. aspose_html_net-25.9.0.dist-info/WHEEL +5 -0
  319. aspose_html_net-25.9.0.dist-info/entry_points.txt +2 -0
  320. aspose_html_net-25.9.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,3224 @@
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
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
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 IDrawingFactory:
1076
+ '''Represents a factory for creating drawing-related objects.'''
1077
+
1078
+ @overload
1079
+ def create_matrix(self, matrix : aspose.html.drawing.IMatrix) -> aspose.html.drawing.IMatrix:
1080
+ '''Creates a new matrix with the same contents as the specified matrix.
1081
+
1082
+ :param matrix: The matrix to copy.
1083
+ :returns: The created :py:class:`aspose.html.drawing.IMatrix`.'''
1084
+ ...
1085
+
1086
+ @overload
1087
+ def create_matrix(self, m11 : float, m12 : float, m21 : float, m22 : float, m31 : float, m32 : float) -> aspose.html.drawing.IMatrix:
1088
+ '''Creates a new matrix with the specified elements.
1089
+
1090
+ :param m11: The value in the first row and first column of the matrix.
1091
+ :param m12: The value in the first row and second column of the matrix.
1092
+ :param m21: The value in the second row and first column of the matrix.
1093
+ :param m22: The value in the second row and second column of the matrix.
1094
+ :param m31: The value in the third row and first column of the matrix.
1095
+ :param m32: The value in the third row and second column of the matrix.
1096
+ :returns: The created :py:class:`aspose.html.drawing.IMatrix`.'''
1097
+ ...
1098
+
1099
+ @overload
1100
+ def create_matrix(self) -> aspose.html.drawing.IMatrix:
1101
+ '''Creates a new identity matrix.
1102
+
1103
+ :returns: The created :py:class:`aspose.html.drawing.IMatrix`.'''
1104
+ ...
1105
+
1106
+ def create_solid_brush(self, color : aspose.pydrawing.Color) -> aspose.html.drawing.ISolidBrush:
1107
+ '''Creates a solid brush with the specified color.
1108
+
1109
+ :param color: The color of the solid brush.
1110
+ :returns: The created :py:class:`aspose.html.drawing.ISolidBrush`.'''
1111
+ ...
1112
+
1113
+ def create_linear_gradient_brush(self, rect : aspose.pydrawing.RectangleF, colors : List[aspose.html.drawing.IInterpolationColor]) -> aspose.html.drawing.ILinearGradientBrush:
1114
+ '''Creates a linear gradient brush with the specified parameters.
1115
+
1116
+ :param rect: The rectangle defining the gradient bounds.
1117
+ :param colors: The interpolation colors for the gradient. See :py:class:`aspose.html.drawing.IInterpolationColor`.
1118
+ :returns: The created :py:class:`aspose.html.drawing.ILinearGradientBrush`.'''
1119
+ ...
1120
+
1121
+ def create_texture_brush(self, image_bytes : bytes) -> aspose.html.drawing.ITextureBrush:
1122
+ '''Creates a texture brush with the specified parameters.
1123
+
1124
+ :param image_bytes: The byte array containing the image data.
1125
+ :returns: The created :py:class:`aspose.html.drawing.ITextureBrush`.'''
1126
+ ...
1127
+
1128
+ def create_interpolation_color(self, color : aspose.pydrawing.Color, position : float) -> aspose.html.drawing.IInterpolationColor:
1129
+ '''Creates an interpolation color with the specified color and position.
1130
+
1131
+ :param color: Represents the color that will be used at the corresponding position of the gradient.
1132
+ :param position: The position, represented as a percentage from 0 to 1, at which the corresponding gradient color will be used.
1133
+ :returns: The created :py:class:`aspose.html.drawing.IInterpolationColor`.'''
1134
+ ...
1135
+
1136
+ ...
1137
+
1138
+ class IGradientBrush(ITransformableBrush):
1139
+ '''Declare methods for getting common properties of gradient brushes.'''
1140
+
1141
+ @property
1142
+ def interpolation_colors(self) -> List[aspose.html.drawing.IInterpolationColor]:
1143
+ ...
1144
+
1145
+ @interpolation_colors.setter
1146
+ def interpolation_colors(self, value : List[aspose.html.drawing.IInterpolationColor]):
1147
+ ...
1148
+
1149
+ @property
1150
+ def blend_positions(self) -> List[float]:
1151
+ ...
1152
+
1153
+ @blend_positions.setter
1154
+ def blend_positions(self, value : List[float]):
1155
+ ...
1156
+
1157
+ @property
1158
+ def blend_factors(self) -> List[float]:
1159
+ ...
1160
+
1161
+ @blend_factors.setter
1162
+ def blend_factors(self, value : List[float]):
1163
+ ...
1164
+
1165
+ @property
1166
+ def transformation_matrix(self) -> aspose.html.drawing.IMatrix:
1167
+ ...
1168
+
1169
+ @transformation_matrix.setter
1170
+ def transformation_matrix(self, value : aspose.html.drawing.IMatrix):
1171
+ ...
1172
+
1173
+ @property
1174
+ def spread_mode(self) -> aspose.html.drawing.SpreadMode:
1175
+ ...
1176
+
1177
+ @spread_mode.setter
1178
+ def spread_mode(self, value : aspose.html.drawing.SpreadMode):
1179
+ ...
1180
+
1181
+ @property
1182
+ def type(self) -> aspose.html.drawing.BrushType:
1183
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1184
+ ...
1185
+
1186
+ ...
1187
+
1188
+ class IInterpolationColor:
1189
+ '''Desclares methods for getting interpolation color.'''
1190
+
1191
+ @property
1192
+ def color(self) -> aspose.pydrawing.Color:
1193
+ '''Get the color that represents the colors to use at corresponding positions along a gradient.'''
1194
+ ...
1195
+
1196
+ @color.setter
1197
+ def color(self, value : aspose.pydrawing.Color):
1198
+ '''Get or sets the color that represents the colors to use at corresponding positions along a gradient.'''
1199
+ ...
1200
+
1201
+ @property
1202
+ def position(self) -> float:
1203
+ '''Gets the color position.'''
1204
+ ...
1205
+
1206
+ @position.setter
1207
+ def position(self, value : float):
1208
+ '''Sets the color position.'''
1209
+ ...
1210
+
1211
+ ...
1212
+
1213
+ class ILinearGradientBrush(IGradientBrush):
1214
+ '''Defines an interface for a brush with a linear gradient.'''
1215
+
1216
+ @property
1217
+ def rect(self) -> aspose.pydrawing.RectangleF:
1218
+ '''Gets the rectangular region that defines the starting and ending points of the gradient.'''
1219
+ ...
1220
+
1221
+ @rect.setter
1222
+ def rect(self, value : aspose.pydrawing.RectangleF):
1223
+ '''Sets the rectangular region that defines the starting and ending points of the gradient.'''
1224
+ ...
1225
+
1226
+ @property
1227
+ def angle(self) -> float:
1228
+ '''Gets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.'''
1229
+ ...
1230
+
1231
+ @angle.setter
1232
+ def angle(self, value : float):
1233
+ '''Sets the angle, measured in degrees clockwise from the x-axis, of the gradient's orientation line.'''
1234
+ ...
1235
+
1236
+ @property
1237
+ def interpolation_colors(self) -> List[aspose.html.drawing.IInterpolationColor]:
1238
+ ...
1239
+
1240
+ @interpolation_colors.setter
1241
+ def interpolation_colors(self, value : List[aspose.html.drawing.IInterpolationColor]):
1242
+ ...
1243
+
1244
+ @property
1245
+ def blend_positions(self) -> List[float]:
1246
+ ...
1247
+
1248
+ @blend_positions.setter
1249
+ def blend_positions(self, value : List[float]):
1250
+ ...
1251
+
1252
+ @property
1253
+ def blend_factors(self) -> List[float]:
1254
+ ...
1255
+
1256
+ @blend_factors.setter
1257
+ def blend_factors(self, value : List[float]):
1258
+ ...
1259
+
1260
+ @property
1261
+ def transformation_matrix(self) -> aspose.html.drawing.IMatrix:
1262
+ ...
1263
+
1264
+ @transformation_matrix.setter
1265
+ def transformation_matrix(self, value : aspose.html.drawing.IMatrix):
1266
+ ...
1267
+
1268
+ @property
1269
+ def spread_mode(self) -> aspose.html.drawing.SpreadMode:
1270
+ ...
1271
+
1272
+ @spread_mode.setter
1273
+ def spread_mode(self, value : aspose.html.drawing.SpreadMode):
1274
+ ...
1275
+
1276
+ @property
1277
+ def type(self) -> aspose.html.drawing.BrushType:
1278
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1279
+ ...
1280
+
1281
+ ...
1282
+
1283
+ class IMatrix:
1284
+ '''Represents a matrix used for transformations.'''
1285
+
1286
+ @overload
1287
+ def scale(self, scale_x : float, scale_y : float, order : aspose.html.drawing.WebMatrixOrder):
1288
+ '''Scales the matrix by the specified scale factors in the specified order.
1289
+
1290
+ :param scale_x: The scale factor along the x-axis.
1291
+ :param scale_y: The scale factor along the y-axis.
1292
+ :param order: The order in which scaling is applied.'''
1293
+ ...
1294
+
1295
+ @overload
1296
+ def scale(self, scale_x : float, scale_y : float):
1297
+ '''Scales the matrix by the specified scale factors uniformly.
1298
+
1299
+ :param scale_x: The uniform scale factor.
1300
+ :param scale_y: The uniform scale factor.'''
1301
+ ...
1302
+
1303
+ @overload
1304
+ def translate(self, offset_x : float, offset_y : float, order : aspose.html.drawing.WebMatrixOrder):
1305
+ '''Translates the matrix by the specified offset values in the specified order.
1306
+
1307
+ :param offset_x: The offset value along the x-axis.
1308
+ :param offset_y: The offset value along the y-axis.
1309
+ :param order: The order in which translation is applied.'''
1310
+ ...
1311
+
1312
+ @overload
1313
+ def translate(self, offset_x : float, offset_y : float):
1314
+ '''Translates the matrix by the specified offset values.
1315
+
1316
+ :param offset_x: The offset value along the x-axis.
1317
+ :param offset_y: The offset value along the y-axis.'''
1318
+ ...
1319
+
1320
+ @overload
1321
+ def multiply(self, matrix : aspose.html.drawing.IMatrix, order : aspose.html.drawing.WebMatrixOrder):
1322
+ '''Multiplies this matrix by another matrix in the specified order.
1323
+
1324
+ :param matrix: The matrix to multiply by.
1325
+ :param order: The order in which multiplication is applied.'''
1326
+ ...
1327
+
1328
+ @overload
1329
+ def multiply(self, matrix : aspose.html.drawing.IMatrix):
1330
+ '''Multiplies this matrix by another matrix.
1331
+
1332
+ :param matrix: The matrix to multiply by.'''
1333
+ ...
1334
+
1335
+ @overload
1336
+ def rotate(self, angle : float, order : aspose.html.drawing.WebMatrixOrder):
1337
+ '''Rotates the matrix by the specified angle in the specified order.
1338
+
1339
+ :param angle: The angle of rotation in degrees.
1340
+ :param order: The order in which rotation is applied.'''
1341
+ ...
1342
+
1343
+ @overload
1344
+ def rotate(self, angle : float):
1345
+ '''Rotates the matrix by the specified angle.
1346
+
1347
+ :param angle: The angle of rotation in degrees.'''
1348
+ ...
1349
+
1350
+ @overload
1351
+ def rotate_at(self, angle : float, point : aspose.pydrawing.PointF, order : aspose.html.drawing.WebMatrixOrder):
1352
+ '''Rotates the matrix by the specified angle around the specified point in the specified order.
1353
+
1354
+ :param angle: The angle of rotation in degrees.
1355
+ :param point: The point to rotate around.
1356
+ :param order: The order in which rotation is applied.'''
1357
+ ...
1358
+
1359
+ @overload
1360
+ def rotate_at(self, angle : float, point : aspose.pydrawing.PointF):
1361
+ '''Rotates the matrix by the specified angle around the specified point.
1362
+
1363
+ :param angle: The angle of rotation in degrees.
1364
+ :param point: The point to rotate around.'''
1365
+ ...
1366
+
1367
+ def invert(self):
1368
+ '''Inverts this matrix.'''
1369
+ ...
1370
+
1371
+ def get_elements(self) -> List[float]:
1372
+ '''Gets the elements of the matrix as an array.
1373
+
1374
+ :returns: The elements of the matrix.'''
1375
+ ...
1376
+
1377
+ def transform_point(self, point : aspose.pydrawing.PointF) -> aspose.pydrawing.PointF:
1378
+ '''Transforms the specified point using this matrix.
1379
+
1380
+ :param point: The point to transform.
1381
+ :returns: The transformed point.'''
1382
+ ...
1383
+
1384
+ def transform_points(self, points : aspose.pydrawing.PointF[]):
1385
+ '''Transforms an array of points using this matrix.
1386
+
1387
+ :param points: The array of points to transform.'''
1388
+ ...
1389
+
1390
+ def transform_rectangle(self, rect : aspose.pydrawing.RectangleF) -> aspose.pydrawing.RectangleF:
1391
+ '''Transforms the specified rectangle using this matrix.
1392
+
1393
+ :param rect: The rectangle to transform.
1394
+ :returns: The transformed rectangle.'''
1395
+ ...
1396
+
1397
+ def skew(self, skew_x : float, skew_y : float):
1398
+ '''Applies a skew transformation to the matrix.
1399
+
1400
+ :param skew_x: The angle by which to skew in the x-axis direction.
1401
+ :param skew_y: The angle by which to skew in the y-axis direction.'''
1402
+ ...
1403
+
1404
+ def reset(self):
1405
+ '''Resets the matrix to the identity matrix.'''
1406
+ ...
1407
+
1408
+ def clone(self) -> aspose.html.drawing.IMatrix:
1409
+ '''Creates a copy of this matrix.
1410
+
1411
+ :returns: A new instance of :py:class:`aspose.html.drawing.IMatrix` that is a copy of this matrix.'''
1412
+ ...
1413
+
1414
+ @property
1415
+ def is_identity(self) -> bool:
1416
+ ...
1417
+
1418
+ @property
1419
+ def m11(self) -> float:
1420
+ '''Gets the value in the first row and first column of the matrix.'''
1421
+ ...
1422
+
1423
+ @m11.setter
1424
+ def m11(self, value : float):
1425
+ '''Sets the value in the first row and first column of the matrix.'''
1426
+ ...
1427
+
1428
+ @property
1429
+ def m12(self) -> float:
1430
+ '''Gets the value in the first row and second column of the matrix.'''
1431
+ ...
1432
+
1433
+ @m12.setter
1434
+ def m12(self, value : float):
1435
+ '''Sets the value in the first row and second column of the matrix.'''
1436
+ ...
1437
+
1438
+ @property
1439
+ def m21(self) -> float:
1440
+ '''Gets the value in the second row and first column of the matrix.'''
1441
+ ...
1442
+
1443
+ @m21.setter
1444
+ def m21(self, value : float):
1445
+ '''Sets the value in the second row and first column of the matrix.'''
1446
+ ...
1447
+
1448
+ @property
1449
+ def m22(self) -> float:
1450
+ '''Gets the value in the second row and second column of the matrix.'''
1451
+ ...
1452
+
1453
+ @m22.setter
1454
+ def m22(self, value : float):
1455
+ '''Sets the value in the second row and second column of the matrix.'''
1456
+ ...
1457
+
1458
+ @property
1459
+ def m31(self) -> float:
1460
+ '''Gets the value in the third row and first column of the matrix.'''
1461
+ ...
1462
+
1463
+ @m31.setter
1464
+ def m31(self, value : float):
1465
+ '''Sets the value in the third row and first column of the matrix.'''
1466
+ ...
1467
+
1468
+ @property
1469
+ def m32(self) -> float:
1470
+ '''Gets the value in the third row and second column of the matrix.'''
1471
+ ...
1472
+
1473
+ @m32.setter
1474
+ def m32(self, value : float):
1475
+ '''Sets the value in the third row and second column of the matrix.'''
1476
+ ...
1477
+
1478
+ @property
1479
+ def is_invertible(self) -> bool:
1480
+ ...
1481
+
1482
+ ...
1483
+
1484
+ class ISolidBrush(IBrush):
1485
+ '''Defines brush interface of a single color'''
1486
+
1487
+ @property
1488
+ def color(self) -> aspose.pydrawing.Color:
1489
+ '''Get color of the brush.'''
1490
+ ...
1491
+
1492
+ @property
1493
+ def type(self) -> aspose.html.drawing.BrushType:
1494
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1495
+ ...
1496
+
1497
+ ...
1498
+
1499
+ class ITextureBrush(ITransformableBrush):
1500
+ '''Defines brush interface that uses an image to fill the interior of a shape.'''
1501
+
1502
+ @property
1503
+ def image(self) -> bytes:
1504
+ '''Gets the image used by the brush.'''
1505
+ ...
1506
+
1507
+ @property
1508
+ def opacity(self) -> float:
1509
+ '''Get opacity value in a color transform matrix.'''
1510
+ ...
1511
+
1512
+ @opacity.setter
1513
+ def opacity(self, value : float):
1514
+ '''Get opacity value in a color transform matrix.'''
1515
+ ...
1516
+
1517
+ @property
1518
+ def image_area(self) -> aspose.pydrawing.RectangleF:
1519
+ ...
1520
+
1521
+ @property
1522
+ def color_map(self) -> aspose.pydrawing.Color[]:
1523
+ ...
1524
+
1525
+ @property
1526
+ def transformation_matrix(self) -> aspose.html.drawing.IMatrix:
1527
+ ...
1528
+
1529
+ @transformation_matrix.setter
1530
+ def transformation_matrix(self, value : aspose.html.drawing.IMatrix):
1531
+ ...
1532
+
1533
+ @property
1534
+ def spread_mode(self) -> aspose.html.drawing.SpreadMode:
1535
+ ...
1536
+
1537
+ @spread_mode.setter
1538
+ def spread_mode(self, value : aspose.html.drawing.SpreadMode):
1539
+ ...
1540
+
1541
+ @property
1542
+ def type(self) -> aspose.html.drawing.BrushType:
1543
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1544
+ ...
1545
+
1546
+ ...
1547
+
1548
+ class ITransformableBrush(IBrush):
1549
+ '''Desclares methods for getting transformation matrix and wrap mode.'''
1550
+
1551
+ @property
1552
+ def transformation_matrix(self) -> aspose.html.drawing.IMatrix:
1553
+ ...
1554
+
1555
+ @transformation_matrix.setter
1556
+ def transformation_matrix(self, value : aspose.html.drawing.IMatrix):
1557
+ ...
1558
+
1559
+ @property
1560
+ def spread_mode(self) -> aspose.html.drawing.SpreadMode:
1561
+ ...
1562
+
1563
+ @spread_mode.setter
1564
+ def spread_mode(self, value : aspose.html.drawing.SpreadMode):
1565
+ ...
1566
+
1567
+ @property
1568
+ def type(self) -> aspose.html.drawing.BrushType:
1569
+ '''Gets type of brush as :py:class:`aspose.html.drawing.BrushType`.'''
1570
+ ...
1571
+
1572
+ ...
1573
+
1574
+ class ITrueTypeFont:
1575
+ '''Declares methods for working with TrueType fonts.'''
1576
+
1577
+ def get_data(self) -> io.RawIOBase:
1578
+ '''Opens the stream with the font data. The caller is responsible for disposing the stream.
1579
+
1580
+ :returns: The stream with the font data.'''
1581
+ ...
1582
+
1583
+ def get_descent(self, font_size : float) -> float:
1584
+ '''Gets the descent of the font in points using the specified font size.
1585
+
1586
+ :param font_size: The size of the font.
1587
+ :returns: The descent of the font in points.'''
1588
+ ...
1589
+
1590
+ def get_ascent(self, font_size : float) -> float:
1591
+ '''Gets the ascent of the font in points using the specified font size.
1592
+
1593
+ :param font_size: The size of the font.
1594
+ :returns: The ascent of the font in points.'''
1595
+ ...
1596
+
1597
+ @property
1598
+ def family_name(self) -> str:
1599
+ ...
1600
+
1601
+ @property
1602
+ def sub_family_name(self) -> str:
1603
+ ...
1604
+
1605
+ @property
1606
+ def full_font_name(self) -> str:
1607
+ ...
1608
+
1609
+ @property
1610
+ def data_size(self) -> float:
1611
+ ...
1612
+
1613
+ @property
1614
+ def style(self) -> aspose.html.drawing.WebFontStyle:
1615
+ '''Get the font style that combines the values of the font-face rule and data from the font.'''
1616
+ ...
1617
+
1618
+ ...
1619
+
1620
+ class Length(Dimension):
1621
+ '''Represents a length measurement unit.'''
1622
+
1623
+ @overload
1624
+ def get_value(self) -> float:
1625
+ '''Gets the unit value.
1626
+
1627
+ :returns: The object value.'''
1628
+ ...
1629
+
1630
+ @overload
1631
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
1632
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
1633
+
1634
+ :param unit_type: Type of the unit.
1635
+ :returns: Returns value that is converted to specified type.'''
1636
+ ...
1637
+
1638
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
1639
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
1640
+
1641
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
1642
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
1643
+ ...
1644
+
1645
+ @staticmethod
1646
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
1647
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
1648
+
1649
+ :param value: The value.
1650
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1651
+ ...
1652
+
1653
+ @staticmethod
1654
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
1655
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
1656
+
1657
+ :param value: The value.
1658
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1659
+ ...
1660
+
1661
+ @staticmethod
1662
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
1663
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
1664
+
1665
+ :param value: The value.
1666
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1667
+ ...
1668
+
1669
+ @staticmethod
1670
+ def from_inches(value : float) -> aspose.html.drawing.Length:
1671
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
1672
+
1673
+ :param value: The value.
1674
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1675
+ ...
1676
+
1677
+ @staticmethod
1678
+ def from_picas(value : float) -> aspose.html.drawing.Length:
1679
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
1680
+
1681
+ :param value: The value.
1682
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1683
+ ...
1684
+
1685
+ @staticmethod
1686
+ def from_points(value : float) -> aspose.html.drawing.Length:
1687
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
1688
+
1689
+ :param value: The value.
1690
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1691
+ ...
1692
+
1693
+ @staticmethod
1694
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
1695
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
1696
+
1697
+ :param value: The value.
1698
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1699
+ ...
1700
+
1701
+ @staticmethod
1702
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
1703
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
1704
+
1705
+ :param value: The value.
1706
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1707
+ ...
1708
+
1709
+ @staticmethod
1710
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
1711
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
1712
+
1713
+ :param value: The value.
1714
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1715
+ ...
1716
+
1717
+ @staticmethod
1718
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
1719
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
1720
+
1721
+ :param value: The value.
1722
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1723
+ ...
1724
+
1725
+ @staticmethod
1726
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
1727
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
1728
+
1729
+ :param value: The value.
1730
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1731
+ ...
1732
+
1733
+ @staticmethod
1734
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
1735
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
1736
+
1737
+ :param value: The value.
1738
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1739
+ ...
1740
+
1741
+ @staticmethod
1742
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
1743
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
1744
+
1745
+ :param value: The value.
1746
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1747
+ ...
1748
+
1749
+ @staticmethod
1750
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
1751
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
1752
+
1753
+ :param value: The value.
1754
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1755
+ ...
1756
+
1757
+ @staticmethod
1758
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
1759
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
1760
+
1761
+ :param value: The value.
1762
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1763
+ ...
1764
+
1765
+ @staticmethod
1766
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
1767
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
1768
+
1769
+ :param value: The value.
1770
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1771
+ ...
1772
+
1773
+ @staticmethod
1774
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
1775
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
1776
+
1777
+ :param value: The value.
1778
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1779
+ ...
1780
+
1781
+ @staticmethod
1782
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
1783
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
1784
+
1785
+ :param value: The value.
1786
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1787
+ ...
1788
+
1789
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
1790
+ '''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.
1791
+
1792
+ :param other: The other object to compare.
1793
+ :returns: A value that indicates the relative order of the objects being compared.'''
1794
+ ...
1795
+
1796
+ @property
1797
+ def unit_type(self) -> aspose.html.drawing.UnitType:
1798
+ ...
1799
+
1800
+ ...
1801
+
1802
+ class LengthOrAuto(Unit):
1803
+ '''Represents a container for storage length or 'auto' units..'''
1804
+
1805
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
1806
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
1807
+
1808
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
1809
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
1810
+ ...
1811
+
1812
+ @staticmethod
1813
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
1814
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
1815
+
1816
+ :param value: The value.
1817
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1818
+ ...
1819
+
1820
+ @staticmethod
1821
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
1822
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
1823
+
1824
+ :param value: The value.
1825
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1826
+ ...
1827
+
1828
+ @staticmethod
1829
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
1830
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
1831
+
1832
+ :param value: The value.
1833
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1834
+ ...
1835
+
1836
+ @staticmethod
1837
+ def from_inches(value : float) -> aspose.html.drawing.Length:
1838
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
1839
+
1840
+ :param value: The value.
1841
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1842
+ ...
1843
+
1844
+ @staticmethod
1845
+ def from_picas(value : float) -> aspose.html.drawing.Length:
1846
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
1847
+
1848
+ :param value: The value.
1849
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1850
+ ...
1851
+
1852
+ @staticmethod
1853
+ def from_points(value : float) -> aspose.html.drawing.Length:
1854
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
1855
+
1856
+ :param value: The value.
1857
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1858
+ ...
1859
+
1860
+ @staticmethod
1861
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
1862
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
1863
+
1864
+ :param value: The value.
1865
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
1866
+ ...
1867
+
1868
+ @staticmethod
1869
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
1870
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
1871
+
1872
+ :param value: The value.
1873
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1874
+ ...
1875
+
1876
+ @staticmethod
1877
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
1878
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
1879
+
1880
+ :param value: The value.
1881
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1882
+ ...
1883
+
1884
+ @staticmethod
1885
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
1886
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
1887
+
1888
+ :param value: The value.
1889
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1890
+ ...
1891
+
1892
+ @staticmethod
1893
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
1894
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
1895
+
1896
+ :param value: The value.
1897
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
1898
+ ...
1899
+
1900
+ @staticmethod
1901
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
1902
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
1903
+
1904
+ :param value: The value.
1905
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1906
+ ...
1907
+
1908
+ @staticmethod
1909
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
1910
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
1911
+
1912
+ :param value: The value.
1913
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
1914
+ ...
1915
+
1916
+ @staticmethod
1917
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
1918
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
1919
+
1920
+ :param value: The value.
1921
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1922
+ ...
1923
+
1924
+ @staticmethod
1925
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
1926
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
1927
+
1928
+ :param value: The value.
1929
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
1930
+ ...
1931
+
1932
+ @staticmethod
1933
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
1934
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
1935
+
1936
+ :param value: The value.
1937
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1938
+ ...
1939
+
1940
+ @staticmethod
1941
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
1942
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
1943
+
1944
+ :param value: The value.
1945
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1946
+ ...
1947
+
1948
+ @staticmethod
1949
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
1950
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
1951
+
1952
+ :param value: The value.
1953
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
1954
+ ...
1955
+
1956
+ def set_auto(self):
1957
+ '''Resets container to state 'auto'.'''
1958
+ ...
1959
+
1960
+ @property
1961
+ def unit_type(self) -> aspose.html.drawing.UnitType:
1962
+ ...
1963
+
1964
+ @property
1965
+ def length(self) -> aspose.html.drawing.Length:
1966
+ '''Gets the length.'''
1967
+ ...
1968
+
1969
+ @length.setter
1970
+ def length(self, value : aspose.html.drawing.Length):
1971
+ '''Sets the length.'''
1972
+ ...
1973
+
1974
+ @property
1975
+ def is_auto(self) -> bool:
1976
+ ...
1977
+
1978
+ ...
1979
+
1980
+ class Margin:
1981
+ '''Represents page margin.'''
1982
+
1983
+ @property
1984
+ def top(self) -> aspose.html.drawing.LengthOrAuto:
1985
+ '''Gets the top.'''
1986
+ ...
1987
+
1988
+ @top.setter
1989
+ def top(self, value : aspose.html.drawing.LengthOrAuto):
1990
+ '''Sets the top.'''
1991
+ ...
1992
+
1993
+ @property
1994
+ def right(self) -> aspose.html.drawing.LengthOrAuto:
1995
+ '''Gets the right.'''
1996
+ ...
1997
+
1998
+ @right.setter
1999
+ def right(self, value : aspose.html.drawing.LengthOrAuto):
2000
+ '''Sets the right.'''
2001
+ ...
2002
+
2003
+ @property
2004
+ def bottom(self) -> aspose.html.drawing.LengthOrAuto:
2005
+ '''Gets the bottom.'''
2006
+ ...
2007
+
2008
+ @bottom.setter
2009
+ def bottom(self, value : aspose.html.drawing.LengthOrAuto):
2010
+ '''Sets the bottom.'''
2011
+ ...
2012
+
2013
+ @property
2014
+ def left(self) -> aspose.html.drawing.LengthOrAuto:
2015
+ '''Gets the left.'''
2016
+ ...
2017
+
2018
+ @left.setter
2019
+ def left(self, value : aspose.html.drawing.LengthOrAuto):
2020
+ '''Sets the left.'''
2021
+ ...
2022
+
2023
+ ...
2024
+
2025
+ class Numeric(Unit):
2026
+ '''Provides the base class for numeric types.'''
2027
+
2028
+ @overload
2029
+ def get_value(self) -> float:
2030
+ '''Gets the unit value.
2031
+
2032
+ :returns: The object value.'''
2033
+ ...
2034
+
2035
+ @overload
2036
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
2037
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
2038
+
2039
+ :param unit_type: Type of the unit.
2040
+ :returns: Returns value that is converted to specified type.'''
2041
+ ...
2042
+
2043
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
2044
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
2045
+
2046
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
2047
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
2048
+ ...
2049
+
2050
+ @staticmethod
2051
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
2052
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
2053
+
2054
+ :param value: The value.
2055
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2056
+ ...
2057
+
2058
+ @staticmethod
2059
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
2060
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
2061
+
2062
+ :param value: The value.
2063
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2064
+ ...
2065
+
2066
+ @staticmethod
2067
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
2068
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
2069
+
2070
+ :param value: The value.
2071
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2072
+ ...
2073
+
2074
+ @staticmethod
2075
+ def from_inches(value : float) -> aspose.html.drawing.Length:
2076
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
2077
+
2078
+ :param value: The value.
2079
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2080
+ ...
2081
+
2082
+ @staticmethod
2083
+ def from_picas(value : float) -> aspose.html.drawing.Length:
2084
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
2085
+
2086
+ :param value: The value.
2087
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2088
+ ...
2089
+
2090
+ @staticmethod
2091
+ def from_points(value : float) -> aspose.html.drawing.Length:
2092
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
2093
+
2094
+ :param value: The value.
2095
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2096
+ ...
2097
+
2098
+ @staticmethod
2099
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
2100
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
2101
+
2102
+ :param value: The value.
2103
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2104
+ ...
2105
+
2106
+ @staticmethod
2107
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
2108
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
2109
+
2110
+ :param value: The value.
2111
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2112
+ ...
2113
+
2114
+ @staticmethod
2115
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
2116
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
2117
+
2118
+ :param value: The value.
2119
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2120
+ ...
2121
+
2122
+ @staticmethod
2123
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
2124
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
2125
+
2126
+ :param value: The value.
2127
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2128
+ ...
2129
+
2130
+ @staticmethod
2131
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
2132
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
2133
+
2134
+ :param value: The value.
2135
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2136
+ ...
2137
+
2138
+ @staticmethod
2139
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
2140
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
2141
+
2142
+ :param value: The value.
2143
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2144
+ ...
2145
+
2146
+ @staticmethod
2147
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
2148
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
2149
+
2150
+ :param value: The value.
2151
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2152
+ ...
2153
+
2154
+ @staticmethod
2155
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
2156
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
2157
+
2158
+ :param value: The value.
2159
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2160
+ ...
2161
+
2162
+ @staticmethod
2163
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
2164
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
2165
+
2166
+ :param value: The value.
2167
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2168
+ ...
2169
+
2170
+ @staticmethod
2171
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
2172
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
2173
+
2174
+ :param value: The value.
2175
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2176
+ ...
2177
+
2178
+ @staticmethod
2179
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
2180
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
2181
+
2182
+ :param value: The value.
2183
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2184
+ ...
2185
+
2186
+ @staticmethod
2187
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
2188
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
2189
+
2190
+ :param value: The value.
2191
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2192
+ ...
2193
+
2194
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
2195
+ '''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.
2196
+
2197
+ :param other: The other object to compare.
2198
+ :returns: A value that indicates the relative order of the objects being compared.'''
2199
+ ...
2200
+
2201
+ @property
2202
+ def unit_type(self) -> aspose.html.drawing.UnitType:
2203
+ ...
2204
+
2205
+ ...
2206
+
2207
+ class Page:
2208
+ '''Represents a page object is used for configuration output page.
2209
+ The lacuna value for page size is A4(210x297mm)'''
2210
+
2211
+ @property
2212
+ def size(self) -> aspose.html.drawing.Size:
2213
+ '''Gets the page size.'''
2214
+ ...
2215
+
2216
+ @size.setter
2217
+ def size(self, value : aspose.html.drawing.Size):
2218
+ '''Sets the page size.'''
2219
+ ...
2220
+
2221
+ @property
2222
+ def margin(self) -> aspose.html.drawing.Margin:
2223
+ '''Gets the page margin.'''
2224
+ ...
2225
+
2226
+ @margin.setter
2227
+ def margin(self, value : aspose.html.drawing.Margin):
2228
+ '''Sets the page margin.'''
2229
+ ...
2230
+
2231
+ ...
2232
+
2233
+ class Resolution(Dimension):
2234
+ '''Represents a resolution unit.'''
2235
+
2236
+ @overload
2237
+ def get_value(self) -> float:
2238
+ '''Gets the unit value.
2239
+
2240
+ :returns: The object value.'''
2241
+ ...
2242
+
2243
+ @overload
2244
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
2245
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
2246
+
2247
+ :param unit_type: Type of the unit.
2248
+ :returns: Returns value that is converted to specified type.'''
2249
+ ...
2250
+
2251
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
2252
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
2253
+
2254
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
2255
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
2256
+ ...
2257
+
2258
+ @staticmethod
2259
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
2260
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
2261
+
2262
+ :param value: The value.
2263
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2264
+ ...
2265
+
2266
+ @staticmethod
2267
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
2268
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
2269
+
2270
+ :param value: The value.
2271
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2272
+ ...
2273
+
2274
+ @staticmethod
2275
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
2276
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
2277
+
2278
+ :param value: The value.
2279
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2280
+ ...
2281
+
2282
+ @staticmethod
2283
+ def from_inches(value : float) -> aspose.html.drawing.Length:
2284
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
2285
+
2286
+ :param value: The value.
2287
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2288
+ ...
2289
+
2290
+ @staticmethod
2291
+ def from_picas(value : float) -> aspose.html.drawing.Length:
2292
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
2293
+
2294
+ :param value: The value.
2295
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2296
+ ...
2297
+
2298
+ @staticmethod
2299
+ def from_points(value : float) -> aspose.html.drawing.Length:
2300
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
2301
+
2302
+ :param value: The value.
2303
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2304
+ ...
2305
+
2306
+ @staticmethod
2307
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
2308
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
2309
+
2310
+ :param value: The value.
2311
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2312
+ ...
2313
+
2314
+ @staticmethod
2315
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
2316
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
2317
+
2318
+ :param value: The value.
2319
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2320
+ ...
2321
+
2322
+ @staticmethod
2323
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
2324
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
2325
+
2326
+ :param value: The value.
2327
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2328
+ ...
2329
+
2330
+ @staticmethod
2331
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
2332
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
2333
+
2334
+ :param value: The value.
2335
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2336
+ ...
2337
+
2338
+ @staticmethod
2339
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
2340
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
2341
+
2342
+ :param value: The value.
2343
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2344
+ ...
2345
+
2346
+ @staticmethod
2347
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
2348
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
2349
+
2350
+ :param value: The value.
2351
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2352
+ ...
2353
+
2354
+ @staticmethod
2355
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
2356
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
2357
+
2358
+ :param value: The value.
2359
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2360
+ ...
2361
+
2362
+ @staticmethod
2363
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
2364
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
2365
+
2366
+ :param value: The value.
2367
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2368
+ ...
2369
+
2370
+ @staticmethod
2371
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
2372
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
2373
+
2374
+ :param value: The value.
2375
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2376
+ ...
2377
+
2378
+ @staticmethod
2379
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
2380
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
2381
+
2382
+ :param value: The value.
2383
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2384
+ ...
2385
+
2386
+ @staticmethod
2387
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
2388
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
2389
+
2390
+ :param value: The value.
2391
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2392
+ ...
2393
+
2394
+ @staticmethod
2395
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
2396
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
2397
+
2398
+ :param value: The value.
2399
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2400
+ ...
2401
+
2402
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
2403
+ '''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.
2404
+
2405
+ :param other: The other object to compare.
2406
+ :returns: A value that indicates the relative order of the objects being compared.'''
2407
+ ...
2408
+
2409
+ @property
2410
+ def unit_type(self) -> aspose.html.drawing.UnitType:
2411
+ ...
2412
+
2413
+ ...
2414
+
2415
+ class Size:
2416
+ '''Stores a values which specify a Height and Width.'''
2417
+
2418
+ @property
2419
+ def height(self) -> aspose.html.drawing.Length:
2420
+ '''Gets the vertical component of this :py:class:`aspose.html.drawing.Size`.'''
2421
+ ...
2422
+
2423
+ @height.setter
2424
+ def height(self, value : aspose.html.drawing.Length):
2425
+ '''Sets the vertical component of this :py:class:`aspose.html.drawing.Size`.'''
2426
+ ...
2427
+
2428
+ @property
2429
+ def width(self) -> aspose.html.drawing.Length:
2430
+ '''Gets the horizontal component of this :py:class:`aspose.html.drawing.Size`.'''
2431
+ ...
2432
+
2433
+ @width.setter
2434
+ def width(self, value : aspose.html.drawing.Length):
2435
+ '''Sets the horizontal component of this :py:class:`aspose.html.drawing.Size`.'''
2436
+ ...
2437
+
2438
+ ...
2439
+
2440
+ class Time(Dimension):
2441
+ '''Represents a time unit.'''
2442
+
2443
+ @overload
2444
+ def get_value(self) -> float:
2445
+ '''Gets the unit value.
2446
+
2447
+ :returns: The object value.'''
2448
+ ...
2449
+
2450
+ @overload
2451
+ def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
2452
+ '''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
2453
+
2454
+ :param unit_type: Type of the unit.
2455
+ :returns: Returns value that is converted to specified type.'''
2456
+ ...
2457
+
2458
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
2459
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
2460
+
2461
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
2462
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
2463
+ ...
2464
+
2465
+ @staticmethod
2466
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
2467
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
2468
+
2469
+ :param value: The value.
2470
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2471
+ ...
2472
+
2473
+ @staticmethod
2474
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
2475
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
2476
+
2477
+ :param value: The value.
2478
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2479
+ ...
2480
+
2481
+ @staticmethod
2482
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
2483
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
2484
+
2485
+ :param value: The value.
2486
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2487
+ ...
2488
+
2489
+ @staticmethod
2490
+ def from_inches(value : float) -> aspose.html.drawing.Length:
2491
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
2492
+
2493
+ :param value: The value.
2494
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2495
+ ...
2496
+
2497
+ @staticmethod
2498
+ def from_picas(value : float) -> aspose.html.drawing.Length:
2499
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
2500
+
2501
+ :param value: The value.
2502
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2503
+ ...
2504
+
2505
+ @staticmethod
2506
+ def from_points(value : float) -> aspose.html.drawing.Length:
2507
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
2508
+
2509
+ :param value: The value.
2510
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2511
+ ...
2512
+
2513
+ @staticmethod
2514
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
2515
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
2516
+
2517
+ :param value: The value.
2518
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2519
+ ...
2520
+
2521
+ @staticmethod
2522
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
2523
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
2524
+
2525
+ :param value: The value.
2526
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2527
+ ...
2528
+
2529
+ @staticmethod
2530
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
2531
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
2532
+
2533
+ :param value: The value.
2534
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2535
+ ...
2536
+
2537
+ @staticmethod
2538
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
2539
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
2540
+
2541
+ :param value: The value.
2542
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2543
+ ...
2544
+
2545
+ @staticmethod
2546
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
2547
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
2548
+
2549
+ :param value: The value.
2550
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2551
+ ...
2552
+
2553
+ @staticmethod
2554
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
2555
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
2556
+
2557
+ :param value: The value.
2558
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2559
+ ...
2560
+
2561
+ @staticmethod
2562
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
2563
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
2564
+
2565
+ :param value: The value.
2566
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2567
+ ...
2568
+
2569
+ @staticmethod
2570
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
2571
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
2572
+
2573
+ :param value: The value.
2574
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2575
+ ...
2576
+
2577
+ @staticmethod
2578
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
2579
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
2580
+
2581
+ :param value: The value.
2582
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2583
+ ...
2584
+
2585
+ @staticmethod
2586
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
2587
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
2588
+
2589
+ :param value: The value.
2590
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2591
+ ...
2592
+
2593
+ @staticmethod
2594
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
2595
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
2596
+
2597
+ :param value: The value.
2598
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2599
+ ...
2600
+
2601
+ @staticmethod
2602
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
2603
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
2604
+
2605
+ :param value: The value.
2606
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2607
+ ...
2608
+
2609
+ def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
2610
+ '''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.
2611
+
2612
+ :param other: The other object to compare.
2613
+ :returns: A value that indicates the relative order of the objects being compared.'''
2614
+ ...
2615
+
2616
+ @property
2617
+ def unit_type(self) -> aspose.html.drawing.UnitType:
2618
+ ...
2619
+
2620
+ ...
2621
+
2622
+ class Unit:
2623
+ '''Provides the base class for units of measurement.'''
2624
+
2625
+ def equals(self, other : aspose.html.drawing.Unit) -> bool:
2626
+ '''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
2627
+
2628
+ :param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
2629
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
2630
+ ...
2631
+
2632
+ @staticmethod
2633
+ def from_centimeters(value : float) -> aspose.html.drawing.Length:
2634
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
2635
+
2636
+ :param value: The value.
2637
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2638
+ ...
2639
+
2640
+ @staticmethod
2641
+ def from_millimeters(value : float) -> aspose.html.drawing.Length:
2642
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
2643
+
2644
+ :param value: The value.
2645
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2646
+ ...
2647
+
2648
+ @staticmethod
2649
+ def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
2650
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
2651
+
2652
+ :param value: The value.
2653
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2654
+ ...
2655
+
2656
+ @staticmethod
2657
+ def from_inches(value : float) -> aspose.html.drawing.Length:
2658
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
2659
+
2660
+ :param value: The value.
2661
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2662
+ ...
2663
+
2664
+ @staticmethod
2665
+ def from_picas(value : float) -> aspose.html.drawing.Length:
2666
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
2667
+
2668
+ :param value: The value.
2669
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2670
+ ...
2671
+
2672
+ @staticmethod
2673
+ def from_points(value : float) -> aspose.html.drawing.Length:
2674
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
2675
+
2676
+ :param value: The value.
2677
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2678
+ ...
2679
+
2680
+ @staticmethod
2681
+ def from_pixels(value : float) -> aspose.html.drawing.Length:
2682
+ '''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
2683
+
2684
+ :param value: The value.
2685
+ :returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
2686
+ ...
2687
+
2688
+ @staticmethod
2689
+ def from_degrees(value : float) -> aspose.html.drawing.Angle:
2690
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
2691
+
2692
+ :param value: The value.
2693
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2694
+ ...
2695
+
2696
+ @staticmethod
2697
+ def from_gradians(value : float) -> aspose.html.drawing.Angle:
2698
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
2699
+
2700
+ :param value: The value.
2701
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2702
+ ...
2703
+
2704
+ @staticmethod
2705
+ def from_radians(value : float) -> aspose.html.drawing.Angle:
2706
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
2707
+
2708
+ :param value: The value.
2709
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2710
+ ...
2711
+
2712
+ @staticmethod
2713
+ def from_turns(value : float) -> aspose.html.drawing.Angle:
2714
+ '''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
2715
+
2716
+ :param value: The value.
2717
+ :returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
2718
+ ...
2719
+
2720
+ @staticmethod
2721
+ def from_seconds(value : float) -> aspose.html.drawing.Time:
2722
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
2723
+
2724
+ :param value: The value.
2725
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2726
+ ...
2727
+
2728
+ @staticmethod
2729
+ def from_milliseconds(value : float) -> aspose.html.drawing.Time:
2730
+ '''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
2731
+
2732
+ :param value: The value.
2733
+ :returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
2734
+ ...
2735
+
2736
+ @staticmethod
2737
+ def from_hertz(value : float) -> aspose.html.drawing.Frequency:
2738
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
2739
+
2740
+ :param value: The value.
2741
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2742
+ ...
2743
+
2744
+ @staticmethod
2745
+ def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
2746
+ '''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
2747
+
2748
+ :param value: The value.
2749
+ :returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
2750
+ ...
2751
+
2752
+ @staticmethod
2753
+ def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
2754
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
2755
+
2756
+ :param value: The value.
2757
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2758
+ ...
2759
+
2760
+ @staticmethod
2761
+ def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
2762
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
2763
+
2764
+ :param value: The value.
2765
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2766
+ ...
2767
+
2768
+ @staticmethod
2769
+ def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
2770
+ '''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
2771
+
2772
+ :param value: The value.
2773
+ :returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
2774
+ ...
2775
+
2776
+ @property
2777
+ def unit_type(self) -> aspose.html.drawing.UnitType:
2778
+ ...
2779
+
2780
+ ...
2781
+
2782
+ class UnitType:
2783
+ '''Specifies the unit of measurement.'''
2784
+
2785
+ def equals(self, other : aspose.html.drawing.UnitType) -> bool:
2786
+ '''Determines whether the specified :py:class:`aspose.html.drawing.UnitType`, is equal to this instance.
2787
+
2788
+ :param other: The :py:class:`aspose.html.drawing.UnitType` to compare with this instance.
2789
+ :returns: ``true`` if the specified :py:class:`aspose.html.drawing.UnitType` is equal to this instance; otherwise, ``false``.'''
2790
+ ...
2791
+
2792
+ @classmethod
2793
+ @property
2794
+ def EM(cls) -> aspose.html.drawing.UnitType:
2795
+ '''Measurement is relative to the height of the parent element's font.'''
2796
+ ...
2797
+
2798
+ @classmethod
2799
+ @property
2800
+ def EX(cls) -> aspose.html.drawing.UnitType:
2801
+ '''Measurement is relative to the height of the lowercase letter x of the parent element's font.'''
2802
+ ...
2803
+
2804
+ @classmethod
2805
+ @property
2806
+ def CH(cls) -> aspose.html.drawing.UnitType:
2807
+ '''Measurement is relative to width of the "0" (zero).'''
2808
+ ...
2809
+
2810
+ @classmethod
2811
+ @property
2812
+ def REM(cls) -> aspose.html.drawing.UnitType:
2813
+ '''Measurement is relative to font-size of the root element.'''
2814
+ ...
2815
+
2816
+ @classmethod
2817
+ @property
2818
+ def VW(cls) -> aspose.html.drawing.UnitType:
2819
+ '''Measurement is relative to 1% of the width of the viewport*'''
2820
+ ...
2821
+
2822
+ @classmethod
2823
+ @property
2824
+ def VH(cls) -> aspose.html.drawing.UnitType:
2825
+ '''Measurement is relative to 1% of the height of the viewport* Try it'''
2826
+ ...
2827
+
2828
+ @classmethod
2829
+ @property
2830
+ def VMIN(cls) -> aspose.html.drawing.UnitType:
2831
+ '''Measurement is relative to 1% of viewport's* smaller dimension Try it'''
2832
+ ...
2833
+
2834
+ @classmethod
2835
+ @property
2836
+ def VMAX(cls) -> aspose.html.drawing.UnitType:
2837
+ '''Measurement is relative to 1% of viewport's* larger dimension Try it'''
2838
+ ...
2839
+
2840
+ @classmethod
2841
+ @property
2842
+ def CM(cls) -> aspose.html.drawing.UnitType:
2843
+ '''Measurement is in centimeters'''
2844
+ ...
2845
+
2846
+ @classmethod
2847
+ @property
2848
+ def MM(cls) -> aspose.html.drawing.UnitType:
2849
+ '''Measurement is in millimeters'''
2850
+ ...
2851
+
2852
+ @classmethod
2853
+ @property
2854
+ def Q(cls) -> aspose.html.drawing.UnitType:
2855
+ '''Measurement is in quarter-millimeters'''
2856
+ ...
2857
+
2858
+ @classmethod
2859
+ @property
2860
+ def IN(cls) -> aspose.html.drawing.UnitType:
2861
+ '''Measurement is in inches'''
2862
+ ...
2863
+
2864
+ @classmethod
2865
+ @property
2866
+ def PC(cls) -> aspose.html.drawing.UnitType:
2867
+ '''Measurement is in picas'''
2868
+ ...
2869
+
2870
+ @classmethod
2871
+ @property
2872
+ def PT(cls) -> aspose.html.drawing.UnitType:
2873
+ '''Measurement is in points'''
2874
+ ...
2875
+
2876
+ @classmethod
2877
+ @property
2878
+ def PX(cls) -> aspose.html.drawing.UnitType:
2879
+ '''Measurement is in pixels'''
2880
+ ...
2881
+
2882
+ @classmethod
2883
+ @property
2884
+ def DEG(cls) -> aspose.html.drawing.UnitType:
2885
+ '''Measurement is in degrees.'''
2886
+ ...
2887
+
2888
+ @classmethod
2889
+ @property
2890
+ def GRAD(cls) -> aspose.html.drawing.UnitType:
2891
+ '''Measurement is in gradians.'''
2892
+ ...
2893
+
2894
+ @classmethod
2895
+ @property
2896
+ def RAD(cls) -> aspose.html.drawing.UnitType:
2897
+ '''Measurement is in radians.'''
2898
+ ...
2899
+
2900
+ @classmethod
2901
+ @property
2902
+ def TURN(cls) -> aspose.html.drawing.UnitType:
2903
+ '''Measurement is in turns.'''
2904
+ ...
2905
+
2906
+ @classmethod
2907
+ @property
2908
+ def S(cls) -> aspose.html.drawing.UnitType:
2909
+ '''Measurement is in seconds.'''
2910
+ ...
2911
+
2912
+ @classmethod
2913
+ @property
2914
+ def MS(cls) -> aspose.html.drawing.UnitType:
2915
+ '''Measurement is in milliseconds.'''
2916
+ ...
2917
+
2918
+ @classmethod
2919
+ @property
2920
+ def HZ(cls) -> aspose.html.drawing.UnitType:
2921
+ '''Measurement is in hertz.'''
2922
+ ...
2923
+
2924
+ @classmethod
2925
+ @property
2926
+ def K_HZ(cls) -> aspose.html.drawing.UnitType:
2927
+ ...
2928
+
2929
+ @classmethod
2930
+ @property
2931
+ def DPI(cls) -> aspose.html.drawing.UnitType:
2932
+ '''Measurement is in dots per inch.'''
2933
+ ...
2934
+
2935
+ @classmethod
2936
+ @property
2937
+ def DPCM(cls) -> aspose.html.drawing.UnitType:
2938
+ '''Measurement is in dots per centimeters.'''
2939
+ ...
2940
+
2941
+ @classmethod
2942
+ @property
2943
+ def DPPX(cls) -> aspose.html.drawing.UnitType:
2944
+ '''Measurement is in Dots per pixels unit.'''
2945
+ ...
2946
+
2947
+ @classmethod
2948
+ @property
2949
+ def AUTO(cls) -> aspose.html.drawing.UnitType:
2950
+ '''Measurement is not defined.'''
2951
+ ...
2952
+
2953
+ @classmethod
2954
+ @property
2955
+ def PERCENTAGE(cls) -> aspose.html.drawing.UnitType:
2956
+ '''Measurement is in percentage.'''
2957
+ ...
2958
+
2959
+ @classmethod
2960
+ @property
2961
+ def INTEGER(cls) -> aspose.html.drawing.UnitType:
2962
+ '''Measurement is an integer number.'''
2963
+ ...
2964
+
2965
+ @classmethod
2966
+ @property
2967
+ def REAL(cls) -> aspose.html.drawing.UnitType:
2968
+ '''Measurement is a real number.'''
2969
+ ...
2970
+
2971
+ ...
2972
+
2973
+ class BrushType:
2974
+ '''Specifies the type of brush.'''
2975
+
2976
+ @classmethod
2977
+ @property
2978
+ def SOLID(cls) -> BrushType:
2979
+ '''Type is ISolidBrush'''
2980
+ ...
2981
+
2982
+ @classmethod
2983
+ @property
2984
+ def TEXTURE(cls) -> BrushType:
2985
+ '''Type is ITextureBrush'''
2986
+ ...
2987
+
2988
+ @classmethod
2989
+ @property
2990
+ def LINEAR_GRADIENT(cls) -> BrushType:
2991
+ '''Type is ILinearGradientBrush'''
2992
+ ...
2993
+
2994
+ ...
2995
+
2996
+ class ColorModel:
2997
+ '''This enumeration is used to select the color model for working with color components.'''
2998
+
2999
+ @classmethod
3000
+ @property
3001
+ def RGB(cls) -> ColorModel:
3002
+ '''Red-Green-Blue color model'''
3003
+ ...
3004
+
3005
+ @classmethod
3006
+ @property
3007
+ def HSL(cls) -> ColorModel:
3008
+ '''Hue-Saturation-Luminosity color model'''
3009
+ ...
3010
+
3011
+ @classmethod
3012
+ @property
3013
+ def HSV(cls) -> ColorModel:
3014
+ '''Hue-Saturation-Value color model'''
3015
+ ...
3016
+
3017
+ @classmethod
3018
+ @property
3019
+ def HWB(cls) -> ColorModel:
3020
+ '''Hue-Whiteness-Blackness color model'''
3021
+ ...
3022
+
3023
+ @classmethod
3024
+ @property
3025
+ def CMYK(cls) -> ColorModel:
3026
+ '''Cyan-Magenta-Yellow-Key color model'''
3027
+ ...
3028
+
3029
+ @classmethod
3030
+ @property
3031
+ def LAB(cls) -> ColorModel:
3032
+ '''Lightness-A-B color model'''
3033
+ ...
3034
+
3035
+ @classmethod
3036
+ @property
3037
+ def OKLAB(cls) -> ColorModel:
3038
+ '''Improved Lightness-A-B model'''
3039
+ ...
3040
+
3041
+ @classmethod
3042
+ @property
3043
+ def LCH(cls) -> ColorModel:
3044
+ '''Luminance-Chroma-Hue color model'''
3045
+ ...
3046
+
3047
+ @classmethod
3048
+ @property
3049
+ def OKLCH(cls) -> ColorModel:
3050
+ '''Improved Luminance-Chroma-Hue color model'''
3051
+ ...
3052
+
3053
+ ...
3054
+
3055
+ class SpreadMode:
3056
+ '''Specifies how a texture or gradient is tiled when it is smaller than the area being filled.'''
3057
+
3058
+ @classmethod
3059
+ @property
3060
+ def TILE(cls) -> SpreadMode:
3061
+ '''The texture or gradient is tiled.'''
3062
+ ...
3063
+
3064
+ @classmethod
3065
+ @property
3066
+ def TILE_FLIP_X(cls) -> SpreadMode:
3067
+ '''The texture or gradient is tiled and flipped horizontally.'''
3068
+ ...
3069
+
3070
+ @classmethod
3071
+ @property
3072
+ def TILE_FLIP_Y(cls) -> SpreadMode:
3073
+ '''The texture or gradient is tiled and flipped vertically.'''
3074
+ ...
3075
+
3076
+ @classmethod
3077
+ @property
3078
+ def TILE_FLIP_XY(cls) -> SpreadMode:
3079
+ '''The texture or gradient is tiled and flipped both horizontally and vertically.'''
3080
+ ...
3081
+
3082
+ @classmethod
3083
+ @property
3084
+ def CLAMP(cls) -> SpreadMode:
3085
+ '''The texture or gradient is clamped to the edge.'''
3086
+ ...
3087
+
3088
+ ...
3089
+
3090
+ class WebFontStyle:
3091
+ '''Specifies the formatting applied to the text.'''
3092
+
3093
+ @classmethod
3094
+ @property
3095
+ def REGULAR(cls) -> WebFontStyle:
3096
+ '''Regular text.'''
3097
+ ...
3098
+
3099
+ @classmethod
3100
+ @property
3101
+ def BOLD(cls) -> WebFontStyle:
3102
+ '''Bold text.'''
3103
+ ...
3104
+
3105
+ @classmethod
3106
+ @property
3107
+ def ITALIC(cls) -> WebFontStyle:
3108
+ '''Italic text.'''
3109
+ ...
3110
+
3111
+ ...
3112
+
3113
+ class WebImageFormat:
3114
+ '''Specifies the supported image formats.'''
3115
+
3116
+ @classmethod
3117
+ @property
3118
+ def BMP(cls) -> WebImageFormat:
3119
+ '''The BMP image format.'''
3120
+ ...
3121
+
3122
+ @classmethod
3123
+ @property
3124
+ def GIF(cls) -> WebImageFormat:
3125
+ '''The GIF image format.'''
3126
+ ...
3127
+
3128
+ @classmethod
3129
+ @property
3130
+ def ICO(cls) -> WebImageFormat:
3131
+ '''The ICO image format.'''
3132
+ ...
3133
+
3134
+ @classmethod
3135
+ @property
3136
+ def JPEG(cls) -> WebImageFormat:
3137
+ '''The JPEG image format.'''
3138
+ ...
3139
+
3140
+ @classmethod
3141
+ @property
3142
+ def PNG(cls) -> WebImageFormat:
3143
+ '''The PNG image format.'''
3144
+ ...
3145
+
3146
+ @classmethod
3147
+ @property
3148
+ def WBMP(cls) -> WebImageFormat:
3149
+ '''The WBMP image format.'''
3150
+ ...
3151
+
3152
+ @classmethod
3153
+ @property
3154
+ def WEBP(cls) -> WebImageFormat:
3155
+ '''The WEBP image format.'''
3156
+ ...
3157
+
3158
+ @classmethod
3159
+ @property
3160
+ def PKM(cls) -> WebImageFormat:
3161
+ '''The PKM image format.'''
3162
+ ...
3163
+
3164
+ @classmethod
3165
+ @property
3166
+ def KTX(cls) -> WebImageFormat:
3167
+ '''The KTX image format.'''
3168
+ ...
3169
+
3170
+ @classmethod
3171
+ @property
3172
+ def ASTC(cls) -> WebImageFormat:
3173
+ '''The ASTC image format.'''
3174
+ ...
3175
+
3176
+ @classmethod
3177
+ @property
3178
+ def DNG(cls) -> WebImageFormat:
3179
+ '''The Adobe DNG image format.'''
3180
+ ...
3181
+
3182
+ @classmethod
3183
+ @property
3184
+ def HEIF(cls) -> WebImageFormat:
3185
+ '''The HEIF or High Efficiency Image File format.'''
3186
+ ...
3187
+
3188
+ @classmethod
3189
+ @property
3190
+ def AVIF(cls) -> WebImageFormat:
3191
+ '''Avif image type.'''
3192
+ ...
3193
+
3194
+ @classmethod
3195
+ @property
3196
+ def TIFF(cls) -> WebImageFormat:
3197
+ '''Tiff image type.'''
3198
+ ...
3199
+
3200
+ @classmethod
3201
+ @property
3202
+ def UNKNOWN(cls) -> WebImageFormat:
3203
+ '''An unknown image type.'''
3204
+ ...
3205
+
3206
+ ...
3207
+
3208
+ class WebMatrixOrder:
3209
+ '''Specifies the order in which matrix transformations are applied.'''
3210
+
3211
+ @classmethod
3212
+ @property
3213
+ def APPEND(cls) -> WebMatrixOrder:
3214
+ '''Specifies that the transformation is appended to the existing transformation.'''
3215
+ ...
3216
+
3217
+ @classmethod
3218
+ @property
3219
+ def PREPEND(cls) -> WebMatrixOrder:
3220
+ '''Specifies that the transformation is prepended to the existing transformation.'''
3221
+ ...
3222
+
3223
+ ...
3224
+