How to type strokes?
Wubihua input method. You can find this on older chinese phones hardware keys, or with a software keyboard on smartphones. It consists of just 5 buttons, each representing a basic stroke type. You tap them in the order of writing and suggestions of the most likely character come up. My personal favourite is multiling keyboard on Android. I have no idea how to input this on windows or mac. I only use the pinyin based microsoft chinese ime.