[]
        
(Showing Draft Content)

BilevelBitmapProperties

DsPdfJS API v9.1.0


DsPdfJS API / BilevelBitmapProperties

Type Alias: BilevelBitmapProperties

BilevelBitmapProperties = object

Provides settings for creating a new instance of BilevelBitmap.

Properties

initialValue?

optional initialValue: number | boolean

The optional value to initialize pixels of a BilevelBitmap (true is 1, false is 0).


lowerBitsFirst?

optional lowerBitsFirst: boolean

Specifies whether pixels with lower column indices are stored in the lower-order bits of the byte.


transparencyMask?

optional transparencyMask: boolean

Indicates whether the image is used to define an alpha mask of another image.


whiteIsZero?

optional whiteIsZero: boolean

Indicates whether 0 represents white and 1 represents black (if true) or vice versa (if false).