Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Display ¶
type Display interface { // Init performs Display device initialization. Init() error // Sleep puts Display to deep-sleep mode to save power. Sleep() error // Reset performs hardware reset of the Display. Reset() error // Draw sends image to Display. Use Refresh() or DrawAndRefresh() to display image. Draw(image.Image) error // DrawAndRefresh sends image to Display and triggers update of the frame. DrawAndRefresh(image.Image) error // Clear clears the Display's content. Clear() error // ClearAndRefresh clears the Display's and triggers update. ClearAndRefresh() error // Refresh updates the Display. Refresh() error // Bounds returns Display dimensions. Bounds() image.Rectangle // Active checks whether the Display device is connected and active. Active() bool // Close closes connection to Display device and clears allocated resources. Close() error }
Display defines base methods for controlling display device.
Click to show internal directories.
Click to hide internal directories.