opcodes

package
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opcode

type Opcode string
const (
	OpcodeIN               Opcode = "IN"
	OpcodePenUp            Opcode = "PU"
	OpcodePenDown          Opcode = "PD"
	OpcodeSelectPen        Opcode = "SP"
	OpcodePositionAbsolute Opcode = "PA"
	OpcodePositionRelative Opcode = "PR"
)

IN is always present, Could not found the actual definition of this. No idea if PA and PR are supported anyways.

func TryFrom

func TryFrom(opCode string) (Opcode, error)

func (Opcode) String

func (op Opcode) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL