Brush
Brush releated commands.
Brush commands are applied on painting brush and have effects on brush dynamics.
Command | Value | Range | Description |
---|---|---|---|
brush-angle-random | int | 0..100 | Set angle random value |
brush-auto-rotate | Toggle auto rotate for brush tip | ||
brush-color | string | rrggbb | Set color for the brush. |
brush-color-random | int | 0..100 | Set color random value |
brush-dash-length | int | 1..999 | Set dash length (dashline brush) |
brush-dynamics | int | -100..100 | How much stroke speed affects brush size |
brush-dynamics-scale | int | 0..100 | Strength of Dynamics |
brush-fade-in | int | 0..512 | Brush fading on stroke start |
brush-fade-out | int | 0..512 | Brush fading on stroke end |
brush-gravity | boolean | Set brush gravity drawing assist | |
brush-gravity-aim | int | 0..100 | Set brush gravity aim param |
brush-gravity-friction | int | 0..100 | Set brush gravity friction param |
brush-gravity-rope-length | int | 0..100 | Set brush gravity rope length param |
brush-hue | int | 0..360 | Set brush color hue value |
brush-ink-fade | int | 0..100 | How fast brush runs out of color |
brush-jitter | int | 0..30 | Set brush jitter value |
brush-light | int | 0..100 | Set brush color brightness |
brush-livestroke | boolean | Set livestroke drawing assist | |
brush-opacity | int | 0..100 | Set brush color opacity |
brush-perspective | boolean | Set brush perspective drawing assist | |
brush-pressure | int | 0..100 | Set brush pressure strength |
brush-pressure-sensitivity | int | 0..100 | Pressure sensitivity setting for stylus |
brush-rotate | int | 0..100 | Set brush tip image rotation value |
brush-saturation | int | 0..100 | Set brush color saturation value |
brush-scale-random | int | 0..100 | How much brush size randomly changes |
brush-size | int | 1..999 | Set brush size |
brush-spacing | int | 0..100 | How much apart brush tip happens |
brush-spinner | boolean | Set spinner mode | |
brush-spinner-speed | int | 0..999 | How many revolutions per second it spins |
brush-symmetry | int | 0..18 | Set symmetry points (0 = deactivate) |
Example
// Set brush size
cmd("brush-size:30")
// Set brush color
cmd("brush-color:ff0000")
// Activate symmetry drawing assist with 6 points
cmd("brush-symmetry:6")