(hint-options)show the options for hints
(hint-options) => (contains {:color-rendering [:default :quality :speed], :interpolation [:bicubic :bilinear :nearest-neighbor], :antialiasing [:default :off :on], :alpha-interpolation [:default :quality :speed], :dithering [:default :disable :enable], :rendering [:default :quality :speed], :stroke-control [:default :normalize :pure], :text-antialiasing [:default :gasp :lcd-hbgr :lcd-hrgb :lcd-vbgr :lcd-vrgb :off :on], :fractionalmetrics [:default :off :on]})
show the options for hints
(hint-options)
=> (contains {:color-rendering [:default :quality :speed],
:interpolation [:bicubic :bilinear :nearest-neighbor],
:antialiasing [:default :off :on],
:alpha-interpolation [:default :quality :speed],
:dithering [:default :disable :enable],
:rendering [:default :quality :speed],
:stroke-control [:default :normalize :pure],
:text-antialiasing [:default :gasp :lcd-hbgr :lcd-hrgb :lcd-vbgr :lcd-vrgb :off :on],
:fractionalmetrics [:default :off :on]})(hints m)creates a map to be used in setRenderingHints on Graphics2d objects
(hints {:antialiasing :on}) => {RenderingHints/KEY_ANTIALIASING RenderingHints/VALUE_ANTIALIAS_ON}
creates a map to be used in `setRenderingHints` on `Graphics2d` objects
(hints {:antialiasing :on})
=> {RenderingHints/KEY_ANTIALIASING
RenderingHints/VALUE_ANTIALIAS_ON}cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |