com.lvl99.paintcanvas.settings

A user's PaintCanvas app settings. Settings that aren't set use PaintCanvas's defaults.

Details · record, key literal:self
Kindrecord
Record keyliteral:self
Authoritypaintcanvas.lvl99.com
Commit rev3n2bepf75bm2o
Indexed

Showing version bafyreia2myevxp7rsxi4pemkzlq7544ihvnytpsm6zu3dveicfjbnl5i44. Show the latest

Record

record · key literal:self

Properties

Reference
Reference

Keyboard shortcuts the user changed from PaintCanvas's defaults.

  • maxLength: 200
itemsref
Reference

ui

ref
Reference

updatedAt

string · datetime

When the settings were last changed.

#colours

object

The colours being drawn with, as "#rrggbb".

Properties

background

requiredstring
  • maxLength: 7

foreground

requiredstring
  • maxLength: 7

#gesture

object

Properties

action

requiredstring

What it does, e.g. "undo".

  • maxLength: 50

gesture

requiredstring

The gesture, e.g. "twoFingerTap".

  • maxLength: 50

#inputSettings

object

How the user moves around the canvas and draws.

Properties

focusPen

boolean

Only a pen draws; fingers move the canvas.

What each touch gesture does.

  • maxLength: 20
itemsref
Reference

Scrolling with a modifier key held zooms the canvas.

A pen's pressure varies the brush, for every brush preset (on when not set).

penTilt

boolean

A pen's tilt varies the brush, for every brush preset (off when not set).

pinchZoom

boolean

Pinching zooms the canvas.

scrollPan

boolean

Scrolling pans the canvas.

#shortcut

object

A keyboard shortcut. Without a key, the action has no shortcut.

Properties

action

requiredstring

The action, e.g. "undo".

  • maxLength: 64

alt

boolean

Alt (Option on macOS) is held.

cmd

boolean

Command (macOS) or Control (Windows, Linux) is held.

ctrl

boolean

Control is held.

key

string

The key, e.g. "z".

  • maxLength: 32

shift

boolean

Shift is held.

#uiSettings

object

Properties

locale

string · language

Language of the interface.

rendering

string

Whether drawing uses the GPU.

  • maxLength: 20
  • knownValues: cpu | gpu

theme

string

Colour theme; "system" follows the device.

  • maxLength: 20
  • knownValues: light | dark | system