encode_command_Command
Overview
encode_command_Command is a class in Aspose.Font FOSS for Python.
This class provides 6 methods for working with encode_command_Command objects in Python programs.
Available methods include: Command0, Command1, Command4, DistanceCode, DistanceContext, __init__.
All public members are accessible to any Python application after installing the Aspose.Font FOSS for Python package.
Properties: cmd_extra_, cmd_prefix_, copy_len_, dist_extra_, dist_prefix_, insert_len_.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
copy_len_ | `` | Read | Gets the copy len . |
insert_len_ | `` | Read | Gets the insert len . |
dist_extra_ | `` | Read | Gets the dist extra . |
cmd_extra_ | `` | Read | Gets the cmd extra . |
dist_prefix_ | `` | Read | Gets the dist prefix . |
cmd_prefix_ | `` | Read | Gets the cmd prefix . |
Methods
| Signature | Description |
|---|---|
__init__() | Calls init on this encode_command_Command instance. |
Command0() | Represents a command with zero insert and copy lengths |
Command4(insertlen, copylen, copylen_code, distance_code) | Builds a command with specified insert, copy and their codes |
Command1(insertlen) | Creates a command with the given insert length and no copy |
DistanceCode() | Returns the distance code component of the command |
DistanceContext() | Provides the distance context used for adaptive coding |