(create-empty-border {:keys [view]})(set-border c ctx border)If supplied border is a Border instance, use it. Otherwise, it should be a keyword or a vector. A keyword is used for a border with no arguments and a vector is used for a border that needs arguments to construct it. The first element of the vector is the same keyword as would be used for the no-arg version. The keywords are derived from the method names of the BorderFactory For example, createBevelBorder -> :bevel, createLoweredSoftBevelBorder -> :lowered-soft-bevel, createTitledBorder -> :titled, etc.. The remaining elements in the vector are args to the respective BorderFactory method.
If supplied border is a Border instance, use it. Otherwise, it should be a keyword or a vector. A keyword is used for a border with no arguments and a vector is used for a border that needs arguments to construct it. The first element of the vector is the same keyword as would be used for the no-arg version. The keywords are derived from the method names of the BorderFactory For example, createBevelBorder -> :bevel, createLoweredSoftBevelBorder -> :lowered-soft-bevel, createTitledBorder -> :titled, etc.. The remaining elements in the vector are args to the respective BorderFactory method.
(set-viewport-border c ctx border)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 |