Paint

Since: BlackBerry 10.0.0

#include <bb/cascades/Paint>

An abstract class representing a type of fill.

Subclasses can define different ways of filling or stroking such as color, gradient or a tiled pattern.


Overview

Inheritance

Public Functions Index

Paint (const Paint &orig)
~Paint ()=0
boolisNull () const
virtual booloperator!= (const Paint &other) const
Paint &operator= (const Paint &other)
virtual booloperator== (const Paint &other) const

Public Functions

Paint (

Copy constructor for Paint objects.

Since:

BlackBerry 10.0.0

~Paint ()

Destructor.

Since:

BlackBerry 10.0.0

bool isNull ()

Checks whether this Paint object is a null paint.

Return:

true if this Paint object is a null paint, false otherwise.

Since:

BlackBerry 10.0.0

virtual bool operator!= (

An != operator for Paint objects.

Return:

true if the objects are not equal, false otherwise.

Since:

BlackBerry 10.0.0

Paint & operator= (

A = operator for Paint objects.

Since:

BlackBerry 10.0.0

virtual bool operator== (

A == operator for Paint objects.

Equality criteria are defined by each subclass.

Return:

true if the objects are equal, false otherwise.

Since:

BlackBerry 10.0.0

Last modified: 2014-03-13

comments powered by Disqus