TypeLib Xojo support Plugin

RawBitmapMask.Constructor Constructor

A constructor that constructs mask from PolygonF object, where you can define the mask tone from 0 (black) to 255 (white).

Constructor(
   polygonProvider as Object,
   maskTone as UInt8)

Parameters

polygonProvider
PolygonF object from the TypeLibF plugin.
maskTone
The tone of the rectangular mask. This can be from 0 to 255 where 0 is black and 255 is white

Remarks

The polygonProvide parameter has the signature of Object to not create circular dependencies.

Note if you send PolygonF object from older version of TypeLibF than 2.2 then you will get crash.

See Also

RawBitmapMask Class