Struct ImageRequest
- Namespace
- Rustaveli.Pdf
- Assembly
- Rustaveli.Pdf.dll
What an image generated at its final size is asked for: the box it fills and the pixels that takes.
public readonly record struct ImageRequest : IEquatable<ImageRequest>
- Implements
- Inherited Members
Constructors
ImageRequest(Extent, int, int, float)
What an image generated at its final size is asked for: the box it fills and the pixels that takes.
public ImageRequest(Extent Size, int PixelWidth, int PixelHeight, float Resolution)
Parameters
SizeExtentThe box the image fills, in points.
PixelWidthintHow many pixels across the image needs to be sharp at
Resolution.PixelHeightintHow many pixels down.
ResolutionfloatThe resolution images are generated at, in pixels per inch.
Properties
PixelHeight
How many pixels down.
public int PixelHeight { get; init; }
Property Value
PixelWidth
How many pixels across the image needs to be sharp at Resolution.
public int PixelWidth { get; init; }
Property Value
Resolution
The resolution images are generated at, in pixels per inch.
public float Resolution { get; init; }
Property Value
Size
The box the image fills, in points.
public Extent Size { get; init; }