Class Transformation.Density

  • All Implemented Interfaces:

    
    public final class Transformation.Density
    
                        

    Sets the output image density in dots per inch (DPI). Accepts an integer from 1 to 1200 or an arithmetic expression using the idn variable, such as idn_mul_2. For raster images, this updates density metadata without changing dimensions. For vector images, it controls the DPI used during rasterization. Cannot be used inside layers. See Density.