[]
        
(Showing Draft Content)

GrayscaleBitmapProperties

DsPdfJS API v9.1.0


DsPdfJS API / GrayscaleBitmapProperties

Type Alias: GrayscaleBitmapProperties

GrayscaleBitmapProperties = object

Provides settings for creating a new instance of GrayscaleBitmap.

Properties

initialValue?

optional initialValue: number

The optional value to initialize pixels of a GrayscaleBitmap (between 0 and 255).


transparencyMask?

optional transparencyMask: boolean

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


whiteIsZero?

optional whiteIsZero: boolean

If true, specifies that 0 is imaged as white and 255 is imaged as black.