ImageInfo

Description

sealed class Tinman.Terrain.Imaging.ImageInfo

Derived from

IImageInfo

Default implementation of the IImageInfo interface.

Public / Constructors

For


public static method For → (1)

source in : IImageInfo

[not-null]
The image info.

returns → ImageInfo

The ImageInfo instance.

Returns an ImageInfo instance for the given image info.

Image​Info


public constructor ImageInfo → (4)

width in : int32

[>0]
Width of the image, in pixels.

height in : int32

[>0]
Height of the image, in pixels.

pixelFormat opt : PixelFormat = PixelFormat.Default

The pixel format of the image.

range opt : PixelRange = default(PixelRange)

The pixel range. If PixelRange.Invalid, PixelRange.Default for pixelFormat opt will be used.

Creates a new instance of ImageInfo.

Public / Methods

Set​Coverage


public method SetCoverage → (1)

coverage in : PixelCoverage

The pixel coverage.

returns → ImageInfo

this

Sets the pixel coverage.

Set​File​Info


public method SetFileInfo → (2)

pathInfo in : Path

[not-null]
The file path or Path.Unknown.

format opt : ImageFormat = null

The file format. If null, ImageFormat.Any will be used.

returns → ImageInfo

this

Sets file specific information.

Set​Gamma


public method SetGamma → (1)

gamma in : float64

The gamma correction.

returns → ImageInfo

this

Sets the gamma correction.

See also

IImageInfo.Gamma

Set​Georef


public method SetGeoref → (1)

georef in : Raster

The georef info object.

returns → ImageInfo

this

Sets geo-referencing information.

Set​Layer


public method SetLayer → (1)

layer in : HeightmapLayer

The target heightmap layer.

returns → ImageInfo

this

Sets the target heightmap layer.

See also

IImageInfo.Layer

Set​No​Data


public method SetNoData → (1)

noData in : float64

The no-data value.

returns → ImageInfo

this

Sets the no-data raw pixel value.

Set​Values


public method SetValues → (1)

values in : RangeD

The new raw pixel value range.

returns → ImageInfo

this

Sets the raw pixel value range.

Configuration

Config


public static attribute Config → (get)

value : IConfigurator<IImageInfo>

[not-null]
The configurator object.

The configurator object for this type.