Gets the thickness in pixels of the tick marks.
If direction is horizontal, then adjust the width of the tick marks. If direction is vertical, then adjust the height. The default value is 1.