protected void CreateBrush() { if (this.m_brush.IsValid) { this.DestroyBrush(); } this.m_brush = PaintBrush.Create(!this.m_square.Value, this.m_radius.Value, this.m_hardness.Value, this.m_opacity.Value, this.m_distortion.Value * this.m_radius.Value * 0.7f); }