Liking cljdoc? Tell your friends :D

hara.image.awt.rendering


hint-keysclj


hint-lookupclj


hint-optionsclj

(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]})
raw docstring

hint-valuesclj


hintsclj

(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}
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close