Skip to content

useStrokeControls ​

useStrokeControls() dostarcza warianty wyrównania obwiedni, wybór wszystkich lub wybranych boków, wartość domyślną oraz funkcje niezależnej zmiany grubości każdego boku.

ts
const { alignOptions, sideOptions, currentAlign, currentSides, selectSide } = useStrokeControls()

strokes.updateAlign('INSIDE')
strokes.selectSide('TOP')

Zobacz też ​

Released under the MIT License.