<commit_before>Drawing
========

This section constains example code specifically for DesignKit/Drawing module. Drawing adds specific drawing methods to UIView and it's subclasses.

All drawing code is done in a specific block, which you can define for each UIControl state (supported on UIButton) or general state (supported on all UIView instances).<commit_msg>Update Drawing.md<commit_after>Drawing
========

This section constains example code specifically for DesignKit/Drawing module. Drawing adds specific drawing methods to UIView and it's subclasses.

All drawing code is done in a specific block defined by DKDrawingBlock, which you can define for each UIControl state (supported on UIButton) or general state (supported on all UIView instances).

When executed each block is provided with a frame where all the drawing should occur (usually called by drawRect method) and parameter dictionary, which include parameters such as colors and current orientation angle.
{'fraction_non_alphanumeric': 0.048205128205128206, 'fraction_numerical': 0.0, 'mean_word_length': 5.550335570469799, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4311344', 'n_tokens_mistral': 214, 'n_tokens_neox': 212, 'n_words': 132}