encode_command_Command

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

NameTypeAccessDescription
copy_len_``ReadGets the copy len .
insert_len_``ReadGets the insert len .
dist_extra_``ReadGets the dist extra .
cmd_extra_``ReadGets the cmd extra .
dist_prefix_``ReadGets the dist prefix .
cmd_prefix_``ReadGets the cmd prefix .

Methods

SignatureDescription
__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

See Also