aspose-html-net 24.10.0__py3-none-manylinux1_x86_64.whl
Sign up to get free protection for your applications and to get access to all the features.
- .__pyi_patched +0 -0
- aspose/__init__.py +82 -0
- aspose/__pyinstaller/__init__.pyi +1 -0
- aspose/__pyinstaller/hook-aspose.py +10 -0
- aspose/assemblies/html/Aspose.HTML.dll +0 -0
- aspose/assemblies/html/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- aspose/assemblies/html/Microsoft.Win32.SystemEvents.dll +0 -0
- aspose/assemblies/html/System.Diagnostics.DiagnosticSource.dll +0 -0
- aspose/assemblies/html/System.Drawing.Common.dll +0 -0
- aspose/assemblies/html/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- aspose/assemblies/html/System.Security.AccessControl.dll +0 -0
- aspose/assemblies/html/System.Security.Permissions.dll +0 -0
- aspose/assemblies/html/System.Security.Principal.Windows.dll +0 -0
- aspose/assemblies/html/System.Windows.Extensions.dll +0 -0
- aspose/assemblies/html/WrpInterop.Aspose.Html.dll +0 -0
- aspose/assemblies/pycore/WrpInterop.Aspose.PyCore.dll +0 -0
- aspose/assemblies/pydrawing/Microsoft.Win32.SystemEvents.dll +0 -0
- aspose/assemblies/pydrawing/System.Drawing.Common.dll +0 -0
- aspose/assemblies/pydrawing/WrpInterop.Aspose.PyDrawing.dll +0 -0
- aspose/assemblies/pygc/Aspose.PyGC.dll +0 -0
- aspose/assemblies/pyreflection/WrpInterop.Aspose.PyReflection.dll +0 -0
- aspose/html/__init__.pyi +40753 -0
- aspose/html/__nuitka/__init__.pyi +1 -0
- aspose/html/__nuitka/aspose-html.nuitka-package.config.yml +19 -0
- aspose/html/__pyinstaller/__init__.pyi +1 -0
- aspose/html/__pyinstaller/hook-aspose.html.py +9 -0
- aspose/html/accessibility/__init__.pyi +469 -0
- aspose/html/accessibility/results/__init__.pyi +106 -0
- aspose/html/accessibility/saving/__init__.pyi +78 -0
- aspose/html/collections/__init__.pyi +246 -0
- aspose/html/converters/__init__.pyi +2793 -0
- aspose/html/diagnostics/__init__.pyi +72 -0
- aspose/html/dom/__init__.pyi +6456 -0
- aspose/html/dom/attributes/__init__.pyi +144 -0
- aspose/html/dom/canvas/__init__.pyi +1103 -0
- aspose/html/dom/css/__init__.pyi +3487 -0
- aspose/html/dom/events/__init__.pyi +1397 -0
- aspose/html/dom/mutations/__init__.pyi +259 -0
- aspose/html/dom/svg/__init__.pyi +30800 -0
- aspose/html/dom/svg/datatypes/__init__.pyi +1247 -0
- aspose/html/dom/svg/events/__init__.pyi +279 -0
- aspose/html/dom/svg/filters/__init__.pyi +15600 -0
- aspose/html/dom/svg/paths/__init__.pyi +3466 -0
- aspose/html/dom/svg/saving/__init__.pyi +83 -0
- aspose/html/dom/traversal/__init__.pyi +461 -0
- aspose/html/dom/traversal/filters/__init__.pyi +200 -0
- aspose/html/dom/views/__init__.pyi +79 -0
- aspose/html/dom/xpath/__init__.pyi +317 -0
- aspose/html/drawing/__init__.pyi +3219 -0
- aspose/html/forms/__init__.pyi +998 -0
- aspose/html/io/__init__.pyi +219 -0
- aspose/html/loading/__init__.pyi +68 -0
- aspose/html/net/__init__.pyi +513 -0
- aspose/html/net/headers/__init__.pyi +147 -0
- aspose/html/net/messagefilters/__init__.pyi +67 -0
- aspose/html/net/messagehandlers/__init__.pyi +103 -0
- aspose/html/rendering/__init__.pyi +793 -0
- aspose/html/rendering/doc/__init__.pyi +280 -0
- aspose/html/rendering/fonts/__init__.pyi +90 -0
- aspose/html/rendering/image/__init__.pyi +291 -0
- aspose/html/rendering/pdf/__init__.pyi +305 -0
- aspose/html/rendering/pdf/encryption/__init__.pyi +171 -0
- aspose/html/rendering/xps/__init__.pyi +169 -0
- aspose/html/saving/__init__.pyi +751 -0
- aspose/html/saving/resourcehandlers/__init__.pyi +95 -0
- aspose/html/services/__init__.pyi +175 -0
- aspose/html/toolkit/__init__.pyi +55 -0
- aspose/html/toolkit/markdown/__init__.pyi +55 -0
- aspose/html/toolkit/markdown/syntax/__init__.pyi +6234 -0
- aspose/html/toolkit/markdown/syntax/extensions/__init__.pyi +549 -0
- aspose/html/toolkit/markdown/syntax/parser/__init__.pyi +631 -0
- aspose/html/toolkit/markdown/syntax/parser/extensions/__init__.pyi +55 -0
- aspose/html/toolkit/markdown/syntax/parser/extensions/gfm/__init__.pyi +66 -0
- aspose/html/toolkit/markdown/syntax/text/__init__.pyi +366 -0
- aspose/html/toolkit/optimizers/__init__.pyi +233 -0
- aspose/html/window/__init__.pyi +490 -0
- aspose/html.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/html.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose/netcore/netcore3.1/Microsoft.CSharp.dll +0 -0
- aspose/netcore/netcore3.1/Microsoft.VisualBasic.Core.dll +0 -0
- aspose/netcore/netcore3.1/Microsoft.VisualBasic.dll +0 -0
- aspose/netcore/netcore3.1/Microsoft.Win32.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/Microsoft.Win32.Registry.dll +0 -0
- aspose/netcore/netcore3.1/SOS_README.md +5 -0
- aspose/netcore/netcore3.1/System.AppContext.dll +0 -0
- aspose/netcore/netcore3.1/System.Buffers.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.Concurrent.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.Immutable.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.NonGeneric.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.Specialized.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.Annotations.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.DataAnnotations.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.EventBasedAsync.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.TypeConverter.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.dll +0 -0
- aspose/netcore/netcore3.1/System.Configuration.dll +0 -0
- aspose/netcore/netcore3.1/System.Console.dll +0 -0
- aspose/netcore/netcore3.1/System.Core.dll +0 -0
- aspose/netcore/netcore3.1/System.Data.Common.dll +0 -0
- aspose/netcore/netcore3.1/System.Data.DataSetExtensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Data.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Contracts.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Debug.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.DiagnosticSource.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.FileVersionInfo.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Process.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.StackTrace.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.TextWriterTraceListener.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Tools.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.TraceSource.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Tracing.dll +0 -0
- aspose/netcore/netcore3.1/System.Drawing.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Drawing.dll +0 -0
- aspose/netcore/netcore3.1/System.Dynamic.Runtime.dll +0 -0
- aspose/netcore/netcore3.1/System.Globalization.Calendars.dll +0 -0
- aspose/netcore/netcore3.1/System.Globalization.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Globalization.Native.so +0 -0
- aspose/netcore/netcore3.1/System.Globalization.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.Brotli.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.FileSystem.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.Native.a +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.Native.so +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.ZipFile.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.AccessControl.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.DriveInfo.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.Watcher.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.IsolatedStorage.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.MemoryMappedFiles.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Pipes.AccessControl.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Pipes.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.UnmanagedMemoryStream.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.dll +0 -0
- aspose/netcore/netcore3.1/System.Linq.Expressions.dll +0 -0
- aspose/netcore/netcore3.1/System.Linq.Parallel.dll +0 -0
- aspose/netcore/netcore3.1/System.Linq.Queryable.dll +0 -0
- aspose/netcore/netcore3.1/System.Linq.dll +0 -0
- aspose/netcore/netcore3.1/System.Memory.dll +0 -0
- aspose/netcore/netcore3.1/System.Native.a +0 -0
- aspose/netcore/netcore3.1/System.Native.so +0 -0
- aspose/netcore/netcore3.1/System.Net.Http.Native.a +0 -0
- aspose/netcore/netcore3.1/System.Net.Http.Native.so +0 -0
- aspose/netcore/netcore3.1/System.Net.Http.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.HttpListener.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Mail.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.NameResolution.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.NetworkInformation.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Ping.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Requests.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Security.Native.a +0 -0
- aspose/netcore/netcore3.1/System.Net.Security.Native.so +0 -0
- aspose/netcore/netcore3.1/System.Net.Security.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.ServicePoint.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Sockets.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebClient.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebHeaderCollection.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebProxy.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebSockets.Client.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebSockets.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.dll +0 -0
- aspose/netcore/netcore3.1/System.Numerics.Vectors.dll +0 -0
- aspose/netcore/netcore3.1/System.Numerics.dll +0 -0
- aspose/netcore/netcore3.1/System.ObjectModel.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.CoreLib.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.DataContractSerialization.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.Uri.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.Xml.Linq.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.Xml.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.DispatchProxy.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Emit.ILGeneration.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Emit.Lightweight.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Emit.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Metadata.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.TypeExtensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.dll +0 -0
- aspose/netcore/netcore3.1/System.Resources.Reader.dll +0 -0
- aspose/netcore/netcore3.1/System.Resources.ResourceManager.dll +0 -0
- aspose/netcore/netcore3.1/System.Resources.Writer.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.CompilerServices.VisualC.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Handles.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.InteropServices.WindowsRuntime.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.InteropServices.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Intrinsics.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Loader.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Numerics.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.Formatters.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.Json.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.Xml.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.WindowsRuntime.UI.Xaml.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.WindowsRuntime.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.AccessControl.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Claims.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Algorithms.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Cng.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Csp.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Encoding.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Native.OpenSsl.a +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Native.OpenSsl.so +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.OpenSsl.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.X509Certificates.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Principal.Windows.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Principal.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.SecureString.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.dll +0 -0
- aspose/netcore/netcore3.1/System.ServiceModel.Web.dll +0 -0
- aspose/netcore/netcore3.1/System.ServiceProcess.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Encoding.CodePages.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Encoding.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Encoding.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Encodings.Web.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Json.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.RegularExpressions.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Channels.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Overlapped.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Tasks.Dataflow.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Tasks.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Tasks.Parallel.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Tasks.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Thread.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.ThreadPool.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Timer.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.dll +0 -0
- aspose/netcore/netcore3.1/System.Transactions.Local.dll +0 -0
- aspose/netcore/netcore3.1/System.Transactions.dll +0 -0
- aspose/netcore/netcore3.1/System.ValueTuple.dll +0 -0
- aspose/netcore/netcore3.1/System.Web.HttpUtility.dll +0 -0
- aspose/netcore/netcore3.1/System.Web.dll +0 -0
- aspose/netcore/netcore3.1/System.Windows.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.Linq.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.ReaderWriter.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.Serialization.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XDocument.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XPath.XDocument.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XPath.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XmlDocument.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XmlSerializer.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.dll +0 -0
- aspose/netcore/netcore3.1/System.dll +0 -0
- aspose/netcore/netcore3.1/WindowsBase.dll +0 -0
- aspose/netcore/netcore3.1/createdump +0 -0
- aspose/netcore/netcore3.1/libaspose.embed.coreclrwrap.so +0 -0
- aspose/netcore/netcore3.1/libclrjit.so +0 -0
- aspose/netcore/netcore3.1/libcoreclr.so +0 -0
- aspose/netcore/netcore3.1/libcoreclrtraceptprovider.so +0 -0
- aspose/netcore/netcore3.1/libdbgshim.so +0 -0
- aspose/netcore/netcore3.1/libhostfxr.so +0 -0
- aspose/netcore/netcore3.1/libhostpolicy.so +0 -0
- aspose/netcore/netcore3.1/libmscordaccore.so +0 -0
- aspose/netcore/netcore3.1/libmscordbi.so +0 -0
- aspose/netcore/netcore3.1/mscorlib.dll +0 -0
- aspose/netcore/netcore3.1/netstandard.dll +0 -0
- aspose/pycore/__init__.pyi +56 -0
- aspose/pycore/__pyinstaller/__init__.pyi +1 -0
- aspose/pycore/__pyinstaller/hook-aspose.pycore.py +11 -0
- aspose/pycore.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/pycore.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose/pydrawing/__init__.pyi +8 -0
- aspose/pydrawing/__pyinstaller/__init__.pyi +1 -0
- aspose/pydrawing/__pyinstaller/hook-aspose.pydrawing.py +9 -0
- aspose/pydrawing.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/pydrawing.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose/pygc/__init__.pyi +8 -0
- aspose/pygc/__pyinstaller/__init__.pyi +1 -0
- aspose/pygc/__pyinstaller/hook-aspose.pygc.py +9 -0
- aspose/pygc.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/pygc.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose/pyreflection/__init__.pyi +8 -0
- aspose/pyreflection/__pyinstaller/__init__.pyi +1 -0
- aspose/pyreflection/__pyinstaller/hook-aspose.pyreflection.py +9 -0
- aspose/pyreflection.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/pyreflection.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose_html_net-24.10.0.dist-info/METADATA +112 -0
- aspose_html_net-24.10.0.dist-info/RECORD +290 -0
- aspose_html_net-24.10.0.dist-info/WHEEL +5 -0
- aspose_html_net-24.10.0.dist-info/entry_points.txt +3 -0
- aspose_html_net-24.10.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,3219 @@
|
|
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
|
+
...
|
1614
|
+
|
1615
|
+
class Length(Dimension):
|
1616
|
+
'''Represents a length measurement unit.'''
|
1617
|
+
|
1618
|
+
@overload
|
1619
|
+
def get_value(self) -> float:
|
1620
|
+
'''Gets the unit value.
|
1621
|
+
|
1622
|
+
:returns: The object value.'''
|
1623
|
+
...
|
1624
|
+
|
1625
|
+
@overload
|
1626
|
+
def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
|
1627
|
+
'''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
|
1628
|
+
|
1629
|
+
:param unit_type: Type of the unit.
|
1630
|
+
:returns: Returns value that is converted to specified type.'''
|
1631
|
+
...
|
1632
|
+
|
1633
|
+
def equals(self, other : aspose.html.drawing.Unit) -> bool:
|
1634
|
+
'''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
|
1635
|
+
|
1636
|
+
:param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
|
1637
|
+
:returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
|
1638
|
+
...
|
1639
|
+
|
1640
|
+
@staticmethod
|
1641
|
+
def from_centimeters(value : float) -> aspose.html.drawing.Length:
|
1642
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
|
1643
|
+
|
1644
|
+
:param value: The value.
|
1645
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1646
|
+
...
|
1647
|
+
|
1648
|
+
@staticmethod
|
1649
|
+
def from_millimeters(value : float) -> aspose.html.drawing.Length:
|
1650
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
|
1651
|
+
|
1652
|
+
:param value: The value.
|
1653
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1654
|
+
...
|
1655
|
+
|
1656
|
+
@staticmethod
|
1657
|
+
def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
|
1658
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
|
1659
|
+
|
1660
|
+
:param value: The value.
|
1661
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1662
|
+
...
|
1663
|
+
|
1664
|
+
@staticmethod
|
1665
|
+
def from_inches(value : float) -> aspose.html.drawing.Length:
|
1666
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
|
1667
|
+
|
1668
|
+
:param value: The value.
|
1669
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1670
|
+
...
|
1671
|
+
|
1672
|
+
@staticmethod
|
1673
|
+
def from_picas(value : float) -> aspose.html.drawing.Length:
|
1674
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
|
1675
|
+
|
1676
|
+
:param value: The value.
|
1677
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1678
|
+
...
|
1679
|
+
|
1680
|
+
@staticmethod
|
1681
|
+
def from_points(value : float) -> aspose.html.drawing.Length:
|
1682
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
|
1683
|
+
|
1684
|
+
:param value: The value.
|
1685
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1686
|
+
...
|
1687
|
+
|
1688
|
+
@staticmethod
|
1689
|
+
def from_pixels(value : float) -> aspose.html.drawing.Length:
|
1690
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
|
1691
|
+
|
1692
|
+
:param value: The value.
|
1693
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1694
|
+
...
|
1695
|
+
|
1696
|
+
@staticmethod
|
1697
|
+
def from_degrees(value : float) -> aspose.html.drawing.Angle:
|
1698
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
|
1699
|
+
|
1700
|
+
:param value: The value.
|
1701
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
1702
|
+
...
|
1703
|
+
|
1704
|
+
@staticmethod
|
1705
|
+
def from_gradians(value : float) -> aspose.html.drawing.Angle:
|
1706
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
|
1707
|
+
|
1708
|
+
:param value: The value.
|
1709
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
1710
|
+
...
|
1711
|
+
|
1712
|
+
@staticmethod
|
1713
|
+
def from_radians(value : float) -> aspose.html.drawing.Angle:
|
1714
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
|
1715
|
+
|
1716
|
+
:param value: The value.
|
1717
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
1718
|
+
...
|
1719
|
+
|
1720
|
+
@staticmethod
|
1721
|
+
def from_turns(value : float) -> aspose.html.drawing.Angle:
|
1722
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
|
1723
|
+
|
1724
|
+
:param value: The value.
|
1725
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
1726
|
+
...
|
1727
|
+
|
1728
|
+
@staticmethod
|
1729
|
+
def from_seconds(value : float) -> aspose.html.drawing.Time:
|
1730
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
|
1731
|
+
|
1732
|
+
:param value: The value.
|
1733
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
1734
|
+
...
|
1735
|
+
|
1736
|
+
@staticmethod
|
1737
|
+
def from_milliseconds(value : float) -> aspose.html.drawing.Time:
|
1738
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
|
1739
|
+
|
1740
|
+
:param value: The value.
|
1741
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
1742
|
+
...
|
1743
|
+
|
1744
|
+
@staticmethod
|
1745
|
+
def from_hertz(value : float) -> aspose.html.drawing.Frequency:
|
1746
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
|
1747
|
+
|
1748
|
+
:param value: The value.
|
1749
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
1750
|
+
...
|
1751
|
+
|
1752
|
+
@staticmethod
|
1753
|
+
def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
|
1754
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
|
1755
|
+
|
1756
|
+
:param value: The value.
|
1757
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
1758
|
+
...
|
1759
|
+
|
1760
|
+
@staticmethod
|
1761
|
+
def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
|
1762
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
|
1763
|
+
|
1764
|
+
:param value: The value.
|
1765
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
1766
|
+
...
|
1767
|
+
|
1768
|
+
@staticmethod
|
1769
|
+
def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
|
1770
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
|
1771
|
+
|
1772
|
+
:param value: The value.
|
1773
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
1774
|
+
...
|
1775
|
+
|
1776
|
+
@staticmethod
|
1777
|
+
def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
|
1778
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
|
1779
|
+
|
1780
|
+
:param value: The value.
|
1781
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
1782
|
+
...
|
1783
|
+
|
1784
|
+
def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
|
1785
|
+
'''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.
|
1786
|
+
|
1787
|
+
:param other: The other object to compare.
|
1788
|
+
:returns: A value that indicates the relative order of the objects being compared.'''
|
1789
|
+
...
|
1790
|
+
|
1791
|
+
@property
|
1792
|
+
def unit_type(self) -> aspose.html.drawing.UnitType:
|
1793
|
+
...
|
1794
|
+
|
1795
|
+
...
|
1796
|
+
|
1797
|
+
class LengthOrAuto(Unit):
|
1798
|
+
'''Represents a container for storage length or 'auto' units..'''
|
1799
|
+
|
1800
|
+
def equals(self, other : aspose.html.drawing.Unit) -> bool:
|
1801
|
+
'''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
|
1802
|
+
|
1803
|
+
:param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
|
1804
|
+
:returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
|
1805
|
+
...
|
1806
|
+
|
1807
|
+
@staticmethod
|
1808
|
+
def from_centimeters(value : float) -> aspose.html.drawing.Length:
|
1809
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
|
1810
|
+
|
1811
|
+
:param value: The value.
|
1812
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1813
|
+
...
|
1814
|
+
|
1815
|
+
@staticmethod
|
1816
|
+
def from_millimeters(value : float) -> aspose.html.drawing.Length:
|
1817
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
|
1818
|
+
|
1819
|
+
:param value: The value.
|
1820
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1821
|
+
...
|
1822
|
+
|
1823
|
+
@staticmethod
|
1824
|
+
def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
|
1825
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
|
1826
|
+
|
1827
|
+
:param value: The value.
|
1828
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1829
|
+
...
|
1830
|
+
|
1831
|
+
@staticmethod
|
1832
|
+
def from_inches(value : float) -> aspose.html.drawing.Length:
|
1833
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
|
1834
|
+
|
1835
|
+
:param value: The value.
|
1836
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1837
|
+
...
|
1838
|
+
|
1839
|
+
@staticmethod
|
1840
|
+
def from_picas(value : float) -> aspose.html.drawing.Length:
|
1841
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
|
1842
|
+
|
1843
|
+
:param value: The value.
|
1844
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1845
|
+
...
|
1846
|
+
|
1847
|
+
@staticmethod
|
1848
|
+
def from_points(value : float) -> aspose.html.drawing.Length:
|
1849
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
|
1850
|
+
|
1851
|
+
:param value: The value.
|
1852
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1853
|
+
...
|
1854
|
+
|
1855
|
+
@staticmethod
|
1856
|
+
def from_pixels(value : float) -> aspose.html.drawing.Length:
|
1857
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
|
1858
|
+
|
1859
|
+
:param value: The value.
|
1860
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
1861
|
+
...
|
1862
|
+
|
1863
|
+
@staticmethod
|
1864
|
+
def from_degrees(value : float) -> aspose.html.drawing.Angle:
|
1865
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
|
1866
|
+
|
1867
|
+
:param value: The value.
|
1868
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
1869
|
+
...
|
1870
|
+
|
1871
|
+
@staticmethod
|
1872
|
+
def from_gradians(value : float) -> aspose.html.drawing.Angle:
|
1873
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
|
1874
|
+
|
1875
|
+
:param value: The value.
|
1876
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
1877
|
+
...
|
1878
|
+
|
1879
|
+
@staticmethod
|
1880
|
+
def from_radians(value : float) -> aspose.html.drawing.Angle:
|
1881
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
|
1882
|
+
|
1883
|
+
:param value: The value.
|
1884
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
1885
|
+
...
|
1886
|
+
|
1887
|
+
@staticmethod
|
1888
|
+
def from_turns(value : float) -> aspose.html.drawing.Angle:
|
1889
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
|
1890
|
+
|
1891
|
+
:param value: The value.
|
1892
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
1893
|
+
...
|
1894
|
+
|
1895
|
+
@staticmethod
|
1896
|
+
def from_seconds(value : float) -> aspose.html.drawing.Time:
|
1897
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
|
1898
|
+
|
1899
|
+
:param value: The value.
|
1900
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
1901
|
+
...
|
1902
|
+
|
1903
|
+
@staticmethod
|
1904
|
+
def from_milliseconds(value : float) -> aspose.html.drawing.Time:
|
1905
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
|
1906
|
+
|
1907
|
+
:param value: The value.
|
1908
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
1909
|
+
...
|
1910
|
+
|
1911
|
+
@staticmethod
|
1912
|
+
def from_hertz(value : float) -> aspose.html.drawing.Frequency:
|
1913
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
|
1914
|
+
|
1915
|
+
:param value: The value.
|
1916
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
1917
|
+
...
|
1918
|
+
|
1919
|
+
@staticmethod
|
1920
|
+
def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
|
1921
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
|
1922
|
+
|
1923
|
+
:param value: The value.
|
1924
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
1925
|
+
...
|
1926
|
+
|
1927
|
+
@staticmethod
|
1928
|
+
def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
|
1929
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
|
1930
|
+
|
1931
|
+
:param value: The value.
|
1932
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
1933
|
+
...
|
1934
|
+
|
1935
|
+
@staticmethod
|
1936
|
+
def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
|
1937
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
|
1938
|
+
|
1939
|
+
:param value: The value.
|
1940
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
1941
|
+
...
|
1942
|
+
|
1943
|
+
@staticmethod
|
1944
|
+
def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
|
1945
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
|
1946
|
+
|
1947
|
+
:param value: The value.
|
1948
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
1949
|
+
...
|
1950
|
+
|
1951
|
+
def set_auto(self):
|
1952
|
+
'''Resets container to state 'auto'.'''
|
1953
|
+
...
|
1954
|
+
|
1955
|
+
@property
|
1956
|
+
def unit_type(self) -> aspose.html.drawing.UnitType:
|
1957
|
+
...
|
1958
|
+
|
1959
|
+
@property
|
1960
|
+
def length(self) -> aspose.html.drawing.Length:
|
1961
|
+
'''Gets the length.'''
|
1962
|
+
...
|
1963
|
+
|
1964
|
+
@length.setter
|
1965
|
+
def length(self, value : aspose.html.drawing.Length):
|
1966
|
+
'''Sets the length.'''
|
1967
|
+
...
|
1968
|
+
|
1969
|
+
@property
|
1970
|
+
def is_auto(self) -> bool:
|
1971
|
+
...
|
1972
|
+
|
1973
|
+
...
|
1974
|
+
|
1975
|
+
class Margin:
|
1976
|
+
'''Represents page margin.'''
|
1977
|
+
|
1978
|
+
@property
|
1979
|
+
def top(self) -> aspose.html.drawing.LengthOrAuto:
|
1980
|
+
'''Gets the top.'''
|
1981
|
+
...
|
1982
|
+
|
1983
|
+
@top.setter
|
1984
|
+
def top(self, value : aspose.html.drawing.LengthOrAuto):
|
1985
|
+
'''Sets the top.'''
|
1986
|
+
...
|
1987
|
+
|
1988
|
+
@property
|
1989
|
+
def right(self) -> aspose.html.drawing.LengthOrAuto:
|
1990
|
+
'''Gets the right.'''
|
1991
|
+
...
|
1992
|
+
|
1993
|
+
@right.setter
|
1994
|
+
def right(self, value : aspose.html.drawing.LengthOrAuto):
|
1995
|
+
'''Sets the right.'''
|
1996
|
+
...
|
1997
|
+
|
1998
|
+
@property
|
1999
|
+
def bottom(self) -> aspose.html.drawing.LengthOrAuto:
|
2000
|
+
'''Gets the bottom.'''
|
2001
|
+
...
|
2002
|
+
|
2003
|
+
@bottom.setter
|
2004
|
+
def bottom(self, value : aspose.html.drawing.LengthOrAuto):
|
2005
|
+
'''Sets the bottom.'''
|
2006
|
+
...
|
2007
|
+
|
2008
|
+
@property
|
2009
|
+
def left(self) -> aspose.html.drawing.LengthOrAuto:
|
2010
|
+
'''Gets the left.'''
|
2011
|
+
...
|
2012
|
+
|
2013
|
+
@left.setter
|
2014
|
+
def left(self, value : aspose.html.drawing.LengthOrAuto):
|
2015
|
+
'''Sets the left.'''
|
2016
|
+
...
|
2017
|
+
|
2018
|
+
...
|
2019
|
+
|
2020
|
+
class Numeric(Unit):
|
2021
|
+
'''Provides the base class for numeric types.'''
|
2022
|
+
|
2023
|
+
@overload
|
2024
|
+
def get_value(self) -> float:
|
2025
|
+
'''Gets the unit value.
|
2026
|
+
|
2027
|
+
:returns: The object value.'''
|
2028
|
+
...
|
2029
|
+
|
2030
|
+
@overload
|
2031
|
+
def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
|
2032
|
+
'''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
|
2033
|
+
|
2034
|
+
:param unit_type: Type of the unit.
|
2035
|
+
:returns: Returns value that is converted to specified type.'''
|
2036
|
+
...
|
2037
|
+
|
2038
|
+
def equals(self, other : aspose.html.drawing.Unit) -> bool:
|
2039
|
+
'''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
|
2040
|
+
|
2041
|
+
:param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
|
2042
|
+
:returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
|
2043
|
+
...
|
2044
|
+
|
2045
|
+
@staticmethod
|
2046
|
+
def from_centimeters(value : float) -> aspose.html.drawing.Length:
|
2047
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
|
2048
|
+
|
2049
|
+
:param value: The value.
|
2050
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2051
|
+
...
|
2052
|
+
|
2053
|
+
@staticmethod
|
2054
|
+
def from_millimeters(value : float) -> aspose.html.drawing.Length:
|
2055
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
|
2056
|
+
|
2057
|
+
:param value: The value.
|
2058
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2059
|
+
...
|
2060
|
+
|
2061
|
+
@staticmethod
|
2062
|
+
def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
|
2063
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
|
2064
|
+
|
2065
|
+
:param value: The value.
|
2066
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2067
|
+
...
|
2068
|
+
|
2069
|
+
@staticmethod
|
2070
|
+
def from_inches(value : float) -> aspose.html.drawing.Length:
|
2071
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
|
2072
|
+
|
2073
|
+
:param value: The value.
|
2074
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2075
|
+
...
|
2076
|
+
|
2077
|
+
@staticmethod
|
2078
|
+
def from_picas(value : float) -> aspose.html.drawing.Length:
|
2079
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
|
2080
|
+
|
2081
|
+
:param value: The value.
|
2082
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2083
|
+
...
|
2084
|
+
|
2085
|
+
@staticmethod
|
2086
|
+
def from_points(value : float) -> aspose.html.drawing.Length:
|
2087
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
|
2088
|
+
|
2089
|
+
:param value: The value.
|
2090
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2091
|
+
...
|
2092
|
+
|
2093
|
+
@staticmethod
|
2094
|
+
def from_pixels(value : float) -> aspose.html.drawing.Length:
|
2095
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
|
2096
|
+
|
2097
|
+
:param value: The value.
|
2098
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2099
|
+
...
|
2100
|
+
|
2101
|
+
@staticmethod
|
2102
|
+
def from_degrees(value : float) -> aspose.html.drawing.Angle:
|
2103
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
|
2104
|
+
|
2105
|
+
:param value: The value.
|
2106
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2107
|
+
...
|
2108
|
+
|
2109
|
+
@staticmethod
|
2110
|
+
def from_gradians(value : float) -> aspose.html.drawing.Angle:
|
2111
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
|
2112
|
+
|
2113
|
+
:param value: The value.
|
2114
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2115
|
+
...
|
2116
|
+
|
2117
|
+
@staticmethod
|
2118
|
+
def from_radians(value : float) -> aspose.html.drawing.Angle:
|
2119
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
|
2120
|
+
|
2121
|
+
:param value: The value.
|
2122
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2123
|
+
...
|
2124
|
+
|
2125
|
+
@staticmethod
|
2126
|
+
def from_turns(value : float) -> aspose.html.drawing.Angle:
|
2127
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
|
2128
|
+
|
2129
|
+
:param value: The value.
|
2130
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2131
|
+
...
|
2132
|
+
|
2133
|
+
@staticmethod
|
2134
|
+
def from_seconds(value : float) -> aspose.html.drawing.Time:
|
2135
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
|
2136
|
+
|
2137
|
+
:param value: The value.
|
2138
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
2139
|
+
...
|
2140
|
+
|
2141
|
+
@staticmethod
|
2142
|
+
def from_milliseconds(value : float) -> aspose.html.drawing.Time:
|
2143
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
|
2144
|
+
|
2145
|
+
:param value: The value.
|
2146
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
2147
|
+
...
|
2148
|
+
|
2149
|
+
@staticmethod
|
2150
|
+
def from_hertz(value : float) -> aspose.html.drawing.Frequency:
|
2151
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
|
2152
|
+
|
2153
|
+
:param value: The value.
|
2154
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
2155
|
+
...
|
2156
|
+
|
2157
|
+
@staticmethod
|
2158
|
+
def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
|
2159
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
|
2160
|
+
|
2161
|
+
:param value: The value.
|
2162
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
2163
|
+
...
|
2164
|
+
|
2165
|
+
@staticmethod
|
2166
|
+
def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
|
2167
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
|
2168
|
+
|
2169
|
+
:param value: The value.
|
2170
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2171
|
+
...
|
2172
|
+
|
2173
|
+
@staticmethod
|
2174
|
+
def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
|
2175
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
|
2176
|
+
|
2177
|
+
:param value: The value.
|
2178
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2179
|
+
...
|
2180
|
+
|
2181
|
+
@staticmethod
|
2182
|
+
def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
|
2183
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
|
2184
|
+
|
2185
|
+
:param value: The value.
|
2186
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2187
|
+
...
|
2188
|
+
|
2189
|
+
def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
|
2190
|
+
'''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.
|
2191
|
+
|
2192
|
+
:param other: The other object to compare.
|
2193
|
+
:returns: A value that indicates the relative order of the objects being compared.'''
|
2194
|
+
...
|
2195
|
+
|
2196
|
+
@property
|
2197
|
+
def unit_type(self) -> aspose.html.drawing.UnitType:
|
2198
|
+
...
|
2199
|
+
|
2200
|
+
...
|
2201
|
+
|
2202
|
+
class Page:
|
2203
|
+
'''Represents a page object is used for configuration output page.
|
2204
|
+
The lacuna value for page size is A4(210x297mm)'''
|
2205
|
+
|
2206
|
+
@property
|
2207
|
+
def size(self) -> aspose.html.drawing.Size:
|
2208
|
+
'''Gets the page size.'''
|
2209
|
+
...
|
2210
|
+
|
2211
|
+
@size.setter
|
2212
|
+
def size(self, value : aspose.html.drawing.Size):
|
2213
|
+
'''Sets the page size.'''
|
2214
|
+
...
|
2215
|
+
|
2216
|
+
@property
|
2217
|
+
def margin(self) -> aspose.html.drawing.Margin:
|
2218
|
+
'''Gets the page margin.'''
|
2219
|
+
...
|
2220
|
+
|
2221
|
+
@margin.setter
|
2222
|
+
def margin(self, value : aspose.html.drawing.Margin):
|
2223
|
+
'''Sets the page margin.'''
|
2224
|
+
...
|
2225
|
+
|
2226
|
+
...
|
2227
|
+
|
2228
|
+
class Resolution(Dimension):
|
2229
|
+
'''Represents a resolution unit.'''
|
2230
|
+
|
2231
|
+
@overload
|
2232
|
+
def get_value(self) -> float:
|
2233
|
+
'''Gets the unit value.
|
2234
|
+
|
2235
|
+
:returns: The object value.'''
|
2236
|
+
...
|
2237
|
+
|
2238
|
+
@overload
|
2239
|
+
def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
|
2240
|
+
'''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
|
2241
|
+
|
2242
|
+
:param unit_type: Type of the unit.
|
2243
|
+
:returns: Returns value that is converted to specified type.'''
|
2244
|
+
...
|
2245
|
+
|
2246
|
+
def equals(self, other : aspose.html.drawing.Unit) -> bool:
|
2247
|
+
'''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
|
2248
|
+
|
2249
|
+
:param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
|
2250
|
+
:returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
|
2251
|
+
...
|
2252
|
+
|
2253
|
+
@staticmethod
|
2254
|
+
def from_centimeters(value : float) -> aspose.html.drawing.Length:
|
2255
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
|
2256
|
+
|
2257
|
+
:param value: The value.
|
2258
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2259
|
+
...
|
2260
|
+
|
2261
|
+
@staticmethod
|
2262
|
+
def from_millimeters(value : float) -> aspose.html.drawing.Length:
|
2263
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
|
2264
|
+
|
2265
|
+
:param value: The value.
|
2266
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2267
|
+
...
|
2268
|
+
|
2269
|
+
@staticmethod
|
2270
|
+
def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
|
2271
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
|
2272
|
+
|
2273
|
+
:param value: The value.
|
2274
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2275
|
+
...
|
2276
|
+
|
2277
|
+
@staticmethod
|
2278
|
+
def from_inches(value : float) -> aspose.html.drawing.Length:
|
2279
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
|
2280
|
+
|
2281
|
+
:param value: The value.
|
2282
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2283
|
+
...
|
2284
|
+
|
2285
|
+
@staticmethod
|
2286
|
+
def from_picas(value : float) -> aspose.html.drawing.Length:
|
2287
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
|
2288
|
+
|
2289
|
+
:param value: The value.
|
2290
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2291
|
+
...
|
2292
|
+
|
2293
|
+
@staticmethod
|
2294
|
+
def from_points(value : float) -> aspose.html.drawing.Length:
|
2295
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
|
2296
|
+
|
2297
|
+
:param value: The value.
|
2298
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2299
|
+
...
|
2300
|
+
|
2301
|
+
@staticmethod
|
2302
|
+
def from_pixels(value : float) -> aspose.html.drawing.Length:
|
2303
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
|
2304
|
+
|
2305
|
+
:param value: The value.
|
2306
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2307
|
+
...
|
2308
|
+
|
2309
|
+
@staticmethod
|
2310
|
+
def from_degrees(value : float) -> aspose.html.drawing.Angle:
|
2311
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
|
2312
|
+
|
2313
|
+
:param value: The value.
|
2314
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2315
|
+
...
|
2316
|
+
|
2317
|
+
@staticmethod
|
2318
|
+
def from_gradians(value : float) -> aspose.html.drawing.Angle:
|
2319
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
|
2320
|
+
|
2321
|
+
:param value: The value.
|
2322
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2323
|
+
...
|
2324
|
+
|
2325
|
+
@staticmethod
|
2326
|
+
def from_radians(value : float) -> aspose.html.drawing.Angle:
|
2327
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
|
2328
|
+
|
2329
|
+
:param value: The value.
|
2330
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2331
|
+
...
|
2332
|
+
|
2333
|
+
@staticmethod
|
2334
|
+
def from_turns(value : float) -> aspose.html.drawing.Angle:
|
2335
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
|
2336
|
+
|
2337
|
+
:param value: The value.
|
2338
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2339
|
+
...
|
2340
|
+
|
2341
|
+
@staticmethod
|
2342
|
+
def from_seconds(value : float) -> aspose.html.drawing.Time:
|
2343
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
|
2344
|
+
|
2345
|
+
:param value: The value.
|
2346
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
2347
|
+
...
|
2348
|
+
|
2349
|
+
@staticmethod
|
2350
|
+
def from_milliseconds(value : float) -> aspose.html.drawing.Time:
|
2351
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
|
2352
|
+
|
2353
|
+
:param value: The value.
|
2354
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
2355
|
+
...
|
2356
|
+
|
2357
|
+
@staticmethod
|
2358
|
+
def from_hertz(value : float) -> aspose.html.drawing.Frequency:
|
2359
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
|
2360
|
+
|
2361
|
+
:param value: The value.
|
2362
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
2363
|
+
...
|
2364
|
+
|
2365
|
+
@staticmethod
|
2366
|
+
def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
|
2367
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
|
2368
|
+
|
2369
|
+
:param value: The value.
|
2370
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
2371
|
+
...
|
2372
|
+
|
2373
|
+
@staticmethod
|
2374
|
+
def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
|
2375
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
|
2376
|
+
|
2377
|
+
:param value: The value.
|
2378
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2379
|
+
...
|
2380
|
+
|
2381
|
+
@staticmethod
|
2382
|
+
def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
|
2383
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
|
2384
|
+
|
2385
|
+
:param value: The value.
|
2386
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2387
|
+
...
|
2388
|
+
|
2389
|
+
@staticmethod
|
2390
|
+
def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
|
2391
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
|
2392
|
+
|
2393
|
+
:param value: The value.
|
2394
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2395
|
+
...
|
2396
|
+
|
2397
|
+
def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
|
2398
|
+
'''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.
|
2399
|
+
|
2400
|
+
:param other: The other object to compare.
|
2401
|
+
:returns: A value that indicates the relative order of the objects being compared.'''
|
2402
|
+
...
|
2403
|
+
|
2404
|
+
@property
|
2405
|
+
def unit_type(self) -> aspose.html.drawing.UnitType:
|
2406
|
+
...
|
2407
|
+
|
2408
|
+
...
|
2409
|
+
|
2410
|
+
class Size:
|
2411
|
+
'''Stores a values which specify a Height and Width.'''
|
2412
|
+
|
2413
|
+
@property
|
2414
|
+
def height(self) -> aspose.html.drawing.Length:
|
2415
|
+
'''Gets the vertical component of this :py:class:`aspose.html.drawing.Size`.'''
|
2416
|
+
...
|
2417
|
+
|
2418
|
+
@height.setter
|
2419
|
+
def height(self, value : aspose.html.drawing.Length):
|
2420
|
+
'''Sets the vertical component of this :py:class:`aspose.html.drawing.Size`.'''
|
2421
|
+
...
|
2422
|
+
|
2423
|
+
@property
|
2424
|
+
def width(self) -> aspose.html.drawing.Length:
|
2425
|
+
'''Gets the horizontal component of this :py:class:`aspose.html.drawing.Size`.'''
|
2426
|
+
...
|
2427
|
+
|
2428
|
+
@width.setter
|
2429
|
+
def width(self, value : aspose.html.drawing.Length):
|
2430
|
+
'''Sets the horizontal component of this :py:class:`aspose.html.drawing.Size`.'''
|
2431
|
+
...
|
2432
|
+
|
2433
|
+
...
|
2434
|
+
|
2435
|
+
class Time(Dimension):
|
2436
|
+
'''Represents a time unit.'''
|
2437
|
+
|
2438
|
+
@overload
|
2439
|
+
def get_value(self) -> float:
|
2440
|
+
'''Gets the unit value.
|
2441
|
+
|
2442
|
+
:returns: The object value.'''
|
2443
|
+
...
|
2444
|
+
|
2445
|
+
@overload
|
2446
|
+
def get_value(self, unit_type : aspose.html.drawing.UnitType) -> float:
|
2447
|
+
'''Gets the value converted to the specified :py:class:`aspose.html.drawing.UnitType`.
|
2448
|
+
|
2449
|
+
:param unit_type: Type of the unit.
|
2450
|
+
:returns: Returns value that is converted to specified type.'''
|
2451
|
+
...
|
2452
|
+
|
2453
|
+
def equals(self, other : aspose.html.drawing.Unit) -> bool:
|
2454
|
+
'''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
|
2455
|
+
|
2456
|
+
:param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
|
2457
|
+
:returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
|
2458
|
+
...
|
2459
|
+
|
2460
|
+
@staticmethod
|
2461
|
+
def from_centimeters(value : float) -> aspose.html.drawing.Length:
|
2462
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
|
2463
|
+
|
2464
|
+
:param value: The value.
|
2465
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2466
|
+
...
|
2467
|
+
|
2468
|
+
@staticmethod
|
2469
|
+
def from_millimeters(value : float) -> aspose.html.drawing.Length:
|
2470
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
|
2471
|
+
|
2472
|
+
:param value: The value.
|
2473
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2474
|
+
...
|
2475
|
+
|
2476
|
+
@staticmethod
|
2477
|
+
def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
|
2478
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
|
2479
|
+
|
2480
|
+
:param value: The value.
|
2481
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2482
|
+
...
|
2483
|
+
|
2484
|
+
@staticmethod
|
2485
|
+
def from_inches(value : float) -> aspose.html.drawing.Length:
|
2486
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
|
2487
|
+
|
2488
|
+
:param value: The value.
|
2489
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2490
|
+
...
|
2491
|
+
|
2492
|
+
@staticmethod
|
2493
|
+
def from_picas(value : float) -> aspose.html.drawing.Length:
|
2494
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
|
2495
|
+
|
2496
|
+
:param value: The value.
|
2497
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2498
|
+
...
|
2499
|
+
|
2500
|
+
@staticmethod
|
2501
|
+
def from_points(value : float) -> aspose.html.drawing.Length:
|
2502
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
|
2503
|
+
|
2504
|
+
:param value: The value.
|
2505
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2506
|
+
...
|
2507
|
+
|
2508
|
+
@staticmethod
|
2509
|
+
def from_pixels(value : float) -> aspose.html.drawing.Length:
|
2510
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
|
2511
|
+
|
2512
|
+
:param value: The value.
|
2513
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2514
|
+
...
|
2515
|
+
|
2516
|
+
@staticmethod
|
2517
|
+
def from_degrees(value : float) -> aspose.html.drawing.Angle:
|
2518
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
|
2519
|
+
|
2520
|
+
:param value: The value.
|
2521
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2522
|
+
...
|
2523
|
+
|
2524
|
+
@staticmethod
|
2525
|
+
def from_gradians(value : float) -> aspose.html.drawing.Angle:
|
2526
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
|
2527
|
+
|
2528
|
+
:param value: The value.
|
2529
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2530
|
+
...
|
2531
|
+
|
2532
|
+
@staticmethod
|
2533
|
+
def from_radians(value : float) -> aspose.html.drawing.Angle:
|
2534
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
|
2535
|
+
|
2536
|
+
:param value: The value.
|
2537
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2538
|
+
...
|
2539
|
+
|
2540
|
+
@staticmethod
|
2541
|
+
def from_turns(value : float) -> aspose.html.drawing.Angle:
|
2542
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
|
2543
|
+
|
2544
|
+
:param value: The value.
|
2545
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2546
|
+
...
|
2547
|
+
|
2548
|
+
@staticmethod
|
2549
|
+
def from_seconds(value : float) -> aspose.html.drawing.Time:
|
2550
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
|
2551
|
+
|
2552
|
+
:param value: The value.
|
2553
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
2554
|
+
...
|
2555
|
+
|
2556
|
+
@staticmethod
|
2557
|
+
def from_milliseconds(value : float) -> aspose.html.drawing.Time:
|
2558
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
|
2559
|
+
|
2560
|
+
:param value: The value.
|
2561
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
2562
|
+
...
|
2563
|
+
|
2564
|
+
@staticmethod
|
2565
|
+
def from_hertz(value : float) -> aspose.html.drawing.Frequency:
|
2566
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
|
2567
|
+
|
2568
|
+
:param value: The value.
|
2569
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
2570
|
+
...
|
2571
|
+
|
2572
|
+
@staticmethod
|
2573
|
+
def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
|
2574
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
|
2575
|
+
|
2576
|
+
:param value: The value.
|
2577
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
2578
|
+
...
|
2579
|
+
|
2580
|
+
@staticmethod
|
2581
|
+
def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
|
2582
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
|
2583
|
+
|
2584
|
+
:param value: The value.
|
2585
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2586
|
+
...
|
2587
|
+
|
2588
|
+
@staticmethod
|
2589
|
+
def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
|
2590
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
|
2591
|
+
|
2592
|
+
:param value: The value.
|
2593
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2594
|
+
...
|
2595
|
+
|
2596
|
+
@staticmethod
|
2597
|
+
def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
|
2598
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
|
2599
|
+
|
2600
|
+
:param value: The value.
|
2601
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2602
|
+
...
|
2603
|
+
|
2604
|
+
def compare_to(self, other : aspose.html.drawing.Numeric) -> int:
|
2605
|
+
'''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.
|
2606
|
+
|
2607
|
+
:param other: The other object to compare.
|
2608
|
+
:returns: A value that indicates the relative order of the objects being compared.'''
|
2609
|
+
...
|
2610
|
+
|
2611
|
+
@property
|
2612
|
+
def unit_type(self) -> aspose.html.drawing.UnitType:
|
2613
|
+
...
|
2614
|
+
|
2615
|
+
...
|
2616
|
+
|
2617
|
+
class Unit:
|
2618
|
+
'''Provides the base class for units of measurement.'''
|
2619
|
+
|
2620
|
+
def equals(self, other : aspose.html.drawing.Unit) -> bool:
|
2621
|
+
'''Determines whether the specified :py:class:`aspose.html.drawing.Unit`, is equal to this instance.
|
2622
|
+
|
2623
|
+
:param other: The :py:class:`aspose.html.drawing.Unit` to compare with this instance.
|
2624
|
+
:returns: ``true`` if the specified :py:class:`aspose.html.drawing.Unit` is equal to this instance; otherwise, ``false``.'''
|
2625
|
+
...
|
2626
|
+
|
2627
|
+
@staticmethod
|
2628
|
+
def from_centimeters(value : float) -> aspose.html.drawing.Length:
|
2629
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in centimeters.
|
2630
|
+
|
2631
|
+
:param value: The value.
|
2632
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2633
|
+
...
|
2634
|
+
|
2635
|
+
@staticmethod
|
2636
|
+
def from_millimeters(value : float) -> aspose.html.drawing.Length:
|
2637
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in millimeters.
|
2638
|
+
|
2639
|
+
:param value: The value.
|
2640
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2641
|
+
...
|
2642
|
+
|
2643
|
+
@staticmethod
|
2644
|
+
def from_quarter_millimeters(value : float) -> aspose.html.drawing.Length:
|
2645
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in quarter-millimeters.
|
2646
|
+
|
2647
|
+
:param value: The value.
|
2648
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2649
|
+
...
|
2650
|
+
|
2651
|
+
@staticmethod
|
2652
|
+
def from_inches(value : float) -> aspose.html.drawing.Length:
|
2653
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in inches.
|
2654
|
+
|
2655
|
+
:param value: The value.
|
2656
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2657
|
+
...
|
2658
|
+
|
2659
|
+
@staticmethod
|
2660
|
+
def from_picas(value : float) -> aspose.html.drawing.Length:
|
2661
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in picas.
|
2662
|
+
|
2663
|
+
:param value: The value.
|
2664
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2665
|
+
...
|
2666
|
+
|
2667
|
+
@staticmethod
|
2668
|
+
def from_points(value : float) -> aspose.html.drawing.Length:
|
2669
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in points.
|
2670
|
+
|
2671
|
+
:param value: The value.
|
2672
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2673
|
+
...
|
2674
|
+
|
2675
|
+
@staticmethod
|
2676
|
+
def from_pixels(value : float) -> aspose.html.drawing.Length:
|
2677
|
+
'''Returns a :py:class:`aspose.html.drawing.Length` object that is represented in pixels.
|
2678
|
+
|
2679
|
+
:param value: The value.
|
2680
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Length` object.'''
|
2681
|
+
...
|
2682
|
+
|
2683
|
+
@staticmethod
|
2684
|
+
def from_degrees(value : float) -> aspose.html.drawing.Angle:
|
2685
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in degrees.
|
2686
|
+
|
2687
|
+
:param value: The value.
|
2688
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2689
|
+
...
|
2690
|
+
|
2691
|
+
@staticmethod
|
2692
|
+
def from_gradians(value : float) -> aspose.html.drawing.Angle:
|
2693
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in gradians.
|
2694
|
+
|
2695
|
+
:param value: The value.
|
2696
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2697
|
+
...
|
2698
|
+
|
2699
|
+
@staticmethod
|
2700
|
+
def from_radians(value : float) -> aspose.html.drawing.Angle:
|
2701
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in radians.
|
2702
|
+
|
2703
|
+
:param value: The value.
|
2704
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2705
|
+
...
|
2706
|
+
|
2707
|
+
@staticmethod
|
2708
|
+
def from_turns(value : float) -> aspose.html.drawing.Angle:
|
2709
|
+
'''Returns a :py:class:`aspose.html.drawing.Angle` object that is represented in turns.
|
2710
|
+
|
2711
|
+
:param value: The value.
|
2712
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Angle` object.'''
|
2713
|
+
...
|
2714
|
+
|
2715
|
+
@staticmethod
|
2716
|
+
def from_seconds(value : float) -> aspose.html.drawing.Time:
|
2717
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in seconds.
|
2718
|
+
|
2719
|
+
:param value: The value.
|
2720
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
2721
|
+
...
|
2722
|
+
|
2723
|
+
@staticmethod
|
2724
|
+
def from_milliseconds(value : float) -> aspose.html.drawing.Time:
|
2725
|
+
'''Returns a :py:class:`aspose.html.drawing.Time` object that is represented in milliseconds.
|
2726
|
+
|
2727
|
+
:param value: The value.
|
2728
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Time` object.'''
|
2729
|
+
...
|
2730
|
+
|
2731
|
+
@staticmethod
|
2732
|
+
def from_hertz(value : float) -> aspose.html.drawing.Frequency:
|
2733
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in hertz.
|
2734
|
+
|
2735
|
+
:param value: The value.
|
2736
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
2737
|
+
...
|
2738
|
+
|
2739
|
+
@staticmethod
|
2740
|
+
def from_kilo_hertz(value : float) -> aspose.html.drawing.Frequency:
|
2741
|
+
'''Returns a :py:class:`aspose.html.drawing.Frequency` object that is represented in kiloHertz.
|
2742
|
+
|
2743
|
+
:param value: The value.
|
2744
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Frequency` object.'''
|
2745
|
+
...
|
2746
|
+
|
2747
|
+
@staticmethod
|
2748
|
+
def from_dots_per_inch(value : float) -> aspose.html.drawing.Resolution:
|
2749
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per inch.
|
2750
|
+
|
2751
|
+
:param value: The value.
|
2752
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2753
|
+
...
|
2754
|
+
|
2755
|
+
@staticmethod
|
2756
|
+
def from_dots_per_centimeters(value : float) -> aspose.html.drawing.Resolution:
|
2757
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per centimeters.
|
2758
|
+
|
2759
|
+
:param value: The value.
|
2760
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2761
|
+
...
|
2762
|
+
|
2763
|
+
@staticmethod
|
2764
|
+
def from_dots_per_pixel(value : float) -> aspose.html.drawing.Resolution:
|
2765
|
+
'''Returns a :py:class:`aspose.html.drawing.Resolution` object that is represented in dots per pixels.
|
2766
|
+
|
2767
|
+
:param value: The value.
|
2768
|
+
:returns: Returns a :py:class:`aspose.html.drawing.Resolution` object.'''
|
2769
|
+
...
|
2770
|
+
|
2771
|
+
@property
|
2772
|
+
def unit_type(self) -> aspose.html.drawing.UnitType:
|
2773
|
+
...
|
2774
|
+
|
2775
|
+
...
|
2776
|
+
|
2777
|
+
class UnitType:
|
2778
|
+
'''Specifies the unit of measurement.'''
|
2779
|
+
|
2780
|
+
def equals(self, other : aspose.html.drawing.UnitType) -> bool:
|
2781
|
+
'''Determines whether the specified :py:class:`aspose.html.drawing.UnitType`, is equal to this instance.
|
2782
|
+
|
2783
|
+
:param other: The :py:class:`aspose.html.drawing.UnitType` to compare with this instance.
|
2784
|
+
:returns: ``true`` if the specified :py:class:`aspose.html.drawing.UnitType` is equal to this instance; otherwise, ``false``.'''
|
2785
|
+
...
|
2786
|
+
|
2787
|
+
@classmethod
|
2788
|
+
@property
|
2789
|
+
def EM(cls) -> aspose.html.drawing.UnitType:
|
2790
|
+
'''Measurement is relative to the height of the parent element's font.'''
|
2791
|
+
...
|
2792
|
+
|
2793
|
+
@classmethod
|
2794
|
+
@property
|
2795
|
+
def EX(cls) -> aspose.html.drawing.UnitType:
|
2796
|
+
'''Measurement is relative to the height of the lowercase letter x of the parent element's font.'''
|
2797
|
+
...
|
2798
|
+
|
2799
|
+
@classmethod
|
2800
|
+
@property
|
2801
|
+
def CH(cls) -> aspose.html.drawing.UnitType:
|
2802
|
+
'''Measurement is relative to width of the "0" (zero).'''
|
2803
|
+
...
|
2804
|
+
|
2805
|
+
@classmethod
|
2806
|
+
@property
|
2807
|
+
def REM(cls) -> aspose.html.drawing.UnitType:
|
2808
|
+
'''Measurement is relative to font-size of the root element.'''
|
2809
|
+
...
|
2810
|
+
|
2811
|
+
@classmethod
|
2812
|
+
@property
|
2813
|
+
def VW(cls) -> aspose.html.drawing.UnitType:
|
2814
|
+
'''Measurement is relative to 1% of the width of the viewport*'''
|
2815
|
+
...
|
2816
|
+
|
2817
|
+
@classmethod
|
2818
|
+
@property
|
2819
|
+
def VH(cls) -> aspose.html.drawing.UnitType:
|
2820
|
+
'''Measurement is relative to 1% of the height of the viewport* Try it'''
|
2821
|
+
...
|
2822
|
+
|
2823
|
+
@classmethod
|
2824
|
+
@property
|
2825
|
+
def VMIN(cls) -> aspose.html.drawing.UnitType:
|
2826
|
+
'''Measurement is relative to 1% of viewport's* smaller dimension Try it'''
|
2827
|
+
...
|
2828
|
+
|
2829
|
+
@classmethod
|
2830
|
+
@property
|
2831
|
+
def VMAX(cls) -> aspose.html.drawing.UnitType:
|
2832
|
+
'''Measurement is relative to 1% of viewport's* larger dimension Try it'''
|
2833
|
+
...
|
2834
|
+
|
2835
|
+
@classmethod
|
2836
|
+
@property
|
2837
|
+
def CM(cls) -> aspose.html.drawing.UnitType:
|
2838
|
+
'''Measurement is in centimeters'''
|
2839
|
+
...
|
2840
|
+
|
2841
|
+
@classmethod
|
2842
|
+
@property
|
2843
|
+
def MM(cls) -> aspose.html.drawing.UnitType:
|
2844
|
+
'''Measurement is in millimeters'''
|
2845
|
+
...
|
2846
|
+
|
2847
|
+
@classmethod
|
2848
|
+
@property
|
2849
|
+
def Q(cls) -> aspose.html.drawing.UnitType:
|
2850
|
+
'''Measurement is in quarter-millimeters'''
|
2851
|
+
...
|
2852
|
+
|
2853
|
+
@classmethod
|
2854
|
+
@property
|
2855
|
+
def IN(cls) -> aspose.html.drawing.UnitType:
|
2856
|
+
'''Measurement is in inches'''
|
2857
|
+
...
|
2858
|
+
|
2859
|
+
@classmethod
|
2860
|
+
@property
|
2861
|
+
def PC(cls) -> aspose.html.drawing.UnitType:
|
2862
|
+
'''Measurement is in picas'''
|
2863
|
+
...
|
2864
|
+
|
2865
|
+
@classmethod
|
2866
|
+
@property
|
2867
|
+
def PT(cls) -> aspose.html.drawing.UnitType:
|
2868
|
+
'''Measurement is in points'''
|
2869
|
+
...
|
2870
|
+
|
2871
|
+
@classmethod
|
2872
|
+
@property
|
2873
|
+
def PX(cls) -> aspose.html.drawing.UnitType:
|
2874
|
+
'''Measurement is in pixels'''
|
2875
|
+
...
|
2876
|
+
|
2877
|
+
@classmethod
|
2878
|
+
@property
|
2879
|
+
def DEG(cls) -> aspose.html.drawing.UnitType:
|
2880
|
+
'''Measurement is in degrees.'''
|
2881
|
+
...
|
2882
|
+
|
2883
|
+
@classmethod
|
2884
|
+
@property
|
2885
|
+
def GRAD(cls) -> aspose.html.drawing.UnitType:
|
2886
|
+
'''Measurement is in gradians.'''
|
2887
|
+
...
|
2888
|
+
|
2889
|
+
@classmethod
|
2890
|
+
@property
|
2891
|
+
def RAD(cls) -> aspose.html.drawing.UnitType:
|
2892
|
+
'''Measurement is in radians.'''
|
2893
|
+
...
|
2894
|
+
|
2895
|
+
@classmethod
|
2896
|
+
@property
|
2897
|
+
def TURN(cls) -> aspose.html.drawing.UnitType:
|
2898
|
+
'''Measurement is in turns.'''
|
2899
|
+
...
|
2900
|
+
|
2901
|
+
@classmethod
|
2902
|
+
@property
|
2903
|
+
def S(cls) -> aspose.html.drawing.UnitType:
|
2904
|
+
'''Measurement is in seconds.'''
|
2905
|
+
...
|
2906
|
+
|
2907
|
+
@classmethod
|
2908
|
+
@property
|
2909
|
+
def MS(cls) -> aspose.html.drawing.UnitType:
|
2910
|
+
'''Measurement is in milliseconds.'''
|
2911
|
+
...
|
2912
|
+
|
2913
|
+
@classmethod
|
2914
|
+
@property
|
2915
|
+
def HZ(cls) -> aspose.html.drawing.UnitType:
|
2916
|
+
'''Measurement is in hertz.'''
|
2917
|
+
...
|
2918
|
+
|
2919
|
+
@classmethod
|
2920
|
+
@property
|
2921
|
+
def K_HZ(cls) -> aspose.html.drawing.UnitType:
|
2922
|
+
...
|
2923
|
+
|
2924
|
+
@classmethod
|
2925
|
+
@property
|
2926
|
+
def DPI(cls) -> aspose.html.drawing.UnitType:
|
2927
|
+
'''Measurement is in dots per inch.'''
|
2928
|
+
...
|
2929
|
+
|
2930
|
+
@classmethod
|
2931
|
+
@property
|
2932
|
+
def DPCM(cls) -> aspose.html.drawing.UnitType:
|
2933
|
+
'''Measurement is in dots per centimeters.'''
|
2934
|
+
...
|
2935
|
+
|
2936
|
+
@classmethod
|
2937
|
+
@property
|
2938
|
+
def DPPX(cls) -> aspose.html.drawing.UnitType:
|
2939
|
+
'''Measurement is in Dots per pixels unit.'''
|
2940
|
+
...
|
2941
|
+
|
2942
|
+
@classmethod
|
2943
|
+
@property
|
2944
|
+
def AUTO(cls) -> aspose.html.drawing.UnitType:
|
2945
|
+
'''Measurement is not defined.'''
|
2946
|
+
...
|
2947
|
+
|
2948
|
+
@classmethod
|
2949
|
+
@property
|
2950
|
+
def PERCENTAGE(cls) -> aspose.html.drawing.UnitType:
|
2951
|
+
'''Measurement is in percentage.'''
|
2952
|
+
...
|
2953
|
+
|
2954
|
+
@classmethod
|
2955
|
+
@property
|
2956
|
+
def INTEGER(cls) -> aspose.html.drawing.UnitType:
|
2957
|
+
'''Measurement is an integer number.'''
|
2958
|
+
...
|
2959
|
+
|
2960
|
+
@classmethod
|
2961
|
+
@property
|
2962
|
+
def REAL(cls) -> aspose.html.drawing.UnitType:
|
2963
|
+
'''Measurement is a real number.'''
|
2964
|
+
...
|
2965
|
+
|
2966
|
+
...
|
2967
|
+
|
2968
|
+
class BrushType:
|
2969
|
+
'''Specifies the type of brush.'''
|
2970
|
+
|
2971
|
+
@classmethod
|
2972
|
+
@property
|
2973
|
+
def SOLID(cls) -> BrushType:
|
2974
|
+
'''Type is ISolidBrush'''
|
2975
|
+
...
|
2976
|
+
|
2977
|
+
@classmethod
|
2978
|
+
@property
|
2979
|
+
def TEXTURE(cls) -> BrushType:
|
2980
|
+
'''Type is ITextureBrush'''
|
2981
|
+
...
|
2982
|
+
|
2983
|
+
@classmethod
|
2984
|
+
@property
|
2985
|
+
def LINEAR_GRADIENT(cls) -> BrushType:
|
2986
|
+
'''Type is ILinearGradientBrush'''
|
2987
|
+
...
|
2988
|
+
|
2989
|
+
...
|
2990
|
+
|
2991
|
+
class ColorModel:
|
2992
|
+
'''This enumeration is used to select the color model for working with color components.'''
|
2993
|
+
|
2994
|
+
@classmethod
|
2995
|
+
@property
|
2996
|
+
def RGB(cls) -> ColorModel:
|
2997
|
+
'''Red-Green-Blue color model'''
|
2998
|
+
...
|
2999
|
+
|
3000
|
+
@classmethod
|
3001
|
+
@property
|
3002
|
+
def HSL(cls) -> ColorModel:
|
3003
|
+
'''Hue-Saturation-Luminosity color model'''
|
3004
|
+
...
|
3005
|
+
|
3006
|
+
@classmethod
|
3007
|
+
@property
|
3008
|
+
def HSV(cls) -> ColorModel:
|
3009
|
+
'''Hue-Saturation-Value color model'''
|
3010
|
+
...
|
3011
|
+
|
3012
|
+
@classmethod
|
3013
|
+
@property
|
3014
|
+
def HWB(cls) -> ColorModel:
|
3015
|
+
'''Hue-Whiteness-Blackness color model'''
|
3016
|
+
...
|
3017
|
+
|
3018
|
+
@classmethod
|
3019
|
+
@property
|
3020
|
+
def CMYK(cls) -> ColorModel:
|
3021
|
+
'''Cyan-Magenta-Yellow-Key color model'''
|
3022
|
+
...
|
3023
|
+
|
3024
|
+
@classmethod
|
3025
|
+
@property
|
3026
|
+
def LAB(cls) -> ColorModel:
|
3027
|
+
'''Lightness-A-B color model'''
|
3028
|
+
...
|
3029
|
+
|
3030
|
+
@classmethod
|
3031
|
+
@property
|
3032
|
+
def OKLAB(cls) -> ColorModel:
|
3033
|
+
'''Improved Lightness-A-B model'''
|
3034
|
+
...
|
3035
|
+
|
3036
|
+
@classmethod
|
3037
|
+
@property
|
3038
|
+
def LCH(cls) -> ColorModel:
|
3039
|
+
'''Luminance-Chroma-Hue color model'''
|
3040
|
+
...
|
3041
|
+
|
3042
|
+
@classmethod
|
3043
|
+
@property
|
3044
|
+
def OKLCH(cls) -> ColorModel:
|
3045
|
+
'''Improved Luminance-Chroma-Hue color model'''
|
3046
|
+
...
|
3047
|
+
|
3048
|
+
...
|
3049
|
+
|
3050
|
+
class SpreadMode:
|
3051
|
+
'''Specifies how a texture or gradient is tiled when it is smaller than the area being filled.'''
|
3052
|
+
|
3053
|
+
@classmethod
|
3054
|
+
@property
|
3055
|
+
def TILE(cls) -> SpreadMode:
|
3056
|
+
'''The texture or gradient is tiled.'''
|
3057
|
+
...
|
3058
|
+
|
3059
|
+
@classmethod
|
3060
|
+
@property
|
3061
|
+
def TILE_FLIP_X(cls) -> SpreadMode:
|
3062
|
+
'''The texture or gradient is tiled and flipped horizontally.'''
|
3063
|
+
...
|
3064
|
+
|
3065
|
+
@classmethod
|
3066
|
+
@property
|
3067
|
+
def TILE_FLIP_Y(cls) -> SpreadMode:
|
3068
|
+
'''The texture or gradient is tiled and flipped vertically.'''
|
3069
|
+
...
|
3070
|
+
|
3071
|
+
@classmethod
|
3072
|
+
@property
|
3073
|
+
def TILE_FLIP_XY(cls) -> SpreadMode:
|
3074
|
+
'''The texture or gradient is tiled and flipped both horizontally and vertically.'''
|
3075
|
+
...
|
3076
|
+
|
3077
|
+
@classmethod
|
3078
|
+
@property
|
3079
|
+
def CLAMP(cls) -> SpreadMode:
|
3080
|
+
'''The texture or gradient is clamped to the edge.'''
|
3081
|
+
...
|
3082
|
+
|
3083
|
+
...
|
3084
|
+
|
3085
|
+
class WebFontStyle:
|
3086
|
+
'''Specifies the formatting applied to the text.'''
|
3087
|
+
|
3088
|
+
@classmethod
|
3089
|
+
@property
|
3090
|
+
def REGULAR(cls) -> WebFontStyle:
|
3091
|
+
'''Regular text.'''
|
3092
|
+
...
|
3093
|
+
|
3094
|
+
@classmethod
|
3095
|
+
@property
|
3096
|
+
def BOLD(cls) -> WebFontStyle:
|
3097
|
+
'''Bold text.'''
|
3098
|
+
...
|
3099
|
+
|
3100
|
+
@classmethod
|
3101
|
+
@property
|
3102
|
+
def ITALIC(cls) -> WebFontStyle:
|
3103
|
+
'''Italic text.'''
|
3104
|
+
...
|
3105
|
+
|
3106
|
+
...
|
3107
|
+
|
3108
|
+
class WebImageFormat:
|
3109
|
+
'''Specifies the supported image formats.'''
|
3110
|
+
|
3111
|
+
@classmethod
|
3112
|
+
@property
|
3113
|
+
def BMP(cls) -> WebImageFormat:
|
3114
|
+
'''The BMP image format.'''
|
3115
|
+
...
|
3116
|
+
|
3117
|
+
@classmethod
|
3118
|
+
@property
|
3119
|
+
def GIF(cls) -> WebImageFormat:
|
3120
|
+
'''The GIF image format.'''
|
3121
|
+
...
|
3122
|
+
|
3123
|
+
@classmethod
|
3124
|
+
@property
|
3125
|
+
def ICO(cls) -> WebImageFormat:
|
3126
|
+
'''The ICO image format.'''
|
3127
|
+
...
|
3128
|
+
|
3129
|
+
@classmethod
|
3130
|
+
@property
|
3131
|
+
def JPEG(cls) -> WebImageFormat:
|
3132
|
+
'''The JPEG image format.'''
|
3133
|
+
...
|
3134
|
+
|
3135
|
+
@classmethod
|
3136
|
+
@property
|
3137
|
+
def PNG(cls) -> WebImageFormat:
|
3138
|
+
'''The PNG image format.'''
|
3139
|
+
...
|
3140
|
+
|
3141
|
+
@classmethod
|
3142
|
+
@property
|
3143
|
+
def WBMP(cls) -> WebImageFormat:
|
3144
|
+
'''The WBMP image format.'''
|
3145
|
+
...
|
3146
|
+
|
3147
|
+
@classmethod
|
3148
|
+
@property
|
3149
|
+
def WEBP(cls) -> WebImageFormat:
|
3150
|
+
'''The WEBP image format.'''
|
3151
|
+
...
|
3152
|
+
|
3153
|
+
@classmethod
|
3154
|
+
@property
|
3155
|
+
def PKM(cls) -> WebImageFormat:
|
3156
|
+
'''The PKM image format.'''
|
3157
|
+
...
|
3158
|
+
|
3159
|
+
@classmethod
|
3160
|
+
@property
|
3161
|
+
def KTX(cls) -> WebImageFormat:
|
3162
|
+
'''The KTX image format.'''
|
3163
|
+
...
|
3164
|
+
|
3165
|
+
@classmethod
|
3166
|
+
@property
|
3167
|
+
def ASTC(cls) -> WebImageFormat:
|
3168
|
+
'''The ASTC image format.'''
|
3169
|
+
...
|
3170
|
+
|
3171
|
+
@classmethod
|
3172
|
+
@property
|
3173
|
+
def DNG(cls) -> WebImageFormat:
|
3174
|
+
'''The Adobe DNG image format.'''
|
3175
|
+
...
|
3176
|
+
|
3177
|
+
@classmethod
|
3178
|
+
@property
|
3179
|
+
def HEIF(cls) -> WebImageFormat:
|
3180
|
+
'''The HEIF or High Efficiency Image File format.'''
|
3181
|
+
...
|
3182
|
+
|
3183
|
+
@classmethod
|
3184
|
+
@property
|
3185
|
+
def AVIF(cls) -> WebImageFormat:
|
3186
|
+
'''Avif image type.'''
|
3187
|
+
...
|
3188
|
+
|
3189
|
+
@classmethod
|
3190
|
+
@property
|
3191
|
+
def TIFF(cls) -> WebImageFormat:
|
3192
|
+
'''Tiff image type.'''
|
3193
|
+
...
|
3194
|
+
|
3195
|
+
@classmethod
|
3196
|
+
@property
|
3197
|
+
def UNKNOWN(cls) -> WebImageFormat:
|
3198
|
+
'''An unknown image type.'''
|
3199
|
+
...
|
3200
|
+
|
3201
|
+
...
|
3202
|
+
|
3203
|
+
class WebMatrixOrder:
|
3204
|
+
'''Specifies the order in which matrix transformations are applied.'''
|
3205
|
+
|
3206
|
+
@classmethod
|
3207
|
+
@property
|
3208
|
+
def APPEND(cls) -> WebMatrixOrder:
|
3209
|
+
'''Specifies that the transformation is appended to the existing transformation.'''
|
3210
|
+
...
|
3211
|
+
|
3212
|
+
@classmethod
|
3213
|
+
@property
|
3214
|
+
def PREPEND(cls) -> WebMatrixOrder:
|
3215
|
+
'''Specifies that the transformation is prepended to the existing transformation.'''
|
3216
|
+
...
|
3217
|
+
|
3218
|
+
...
|
3219
|
+
|