IsOpaqueMask

This bitmask defines whether a node contains a point in its boundaries.

To allow this to default to InBounds.yes while being zero-initialized, each bit is inverted; i.e. 0 means *yes, in bounds* and 1 means, *no, not in bounds*.

Members

Functions

apply
void apply(Node node)

Set the node's opacity filter. This can be used as a node property — an opacity mask can be passed to a node builder.

filter
IsOpaque filter(IsOpaqueMask other)

Create a value that combines the restrictions of both masks. It can be said that either of the masks acts as a "filter", hence the name.

inChildren
bool inChildren()
inSelf
bool inSelf()

Variables

bitmask
int bitmask;
Undocumented in source.

See Also

InBounds for all possible values of this bitmask. Node.inBounds for a function returning this value.

Meta