Instance Method

renewGState()

Invalidates the view’s graphics state object, if it has one.

Declaration

func renewGState()

Discussion

The view's graphics state object will be regenerated using setUpGState() the next time the view is focused for drawing

See Also

Deprecated Methods

func shouldDrawColor() -> Bool

Returns a Boolean value indicating whether the view is being drawn to an environment that supports color.

Deprecated
func allocateGState()

Causes the view to maintain a private graphics state object, which encapsulates all parameters of the graphics environment.

Deprecated
func gState() -> Int

Returns the identifier for the view’s graphics state object, or 0 if the view doesn’t have a graphics state object.

Deprecated
func setUpGState()

Overridden by subclasses to (re)initialize the view’s graphics state object.

Deprecated
func releaseGState()

Frees the view’s graphics state object, if it has one.

Deprecated