LuciadCPillar C# 2024.0.08
Luciad.Drawing Namespace Reference

Drawing-related concepts like Icons, Color, Image, ... More...

Classes

class  IconPainterContext
 Contains context information for painting the icon. More...
 
interface  IIcon
 Represents an icon, that can for example be used when painting point data or labels. More...
 
interface  IIconPainter
 An icon painter can paint an icon as an Image. More...
 
class  Image
 An image with a width, height and pixel data in a specified pixel format. More...
 
class  ImageIcon
 Helper class for loading JPEG or PNG files. More...
 
struct  RelativePosition
 Describes a position relative to an anchor, with a rotation, alignment and offset. More...
 

Enumerations

enum  HorizontalAlignment { Left , Center , Right }
 Represents the horizontal alignment of, for example, icons or labels. More...
 
enum  MipmapFilteringType { NoMipmapFiltering , NearestMipmapping , LinearMipmapping , BasedOnData }
 Mipmap filtering is a technique used to reduce the visual artifacts that occurs when a high resolution texture is rendered onto a small surface. More...
 
enum  PixelFormat {
  Rgb888 , Rgba8888 , Float32 , Rgb32 ,
  UnsignedShort , Rgb565
}
 Enumeration for the supported pixel formats. More...
 
enum  VerticalAlignment { Top , Center , Bottom }
 Represents the vertical alignment of, for example, icons or labels. More...
 

Detailed Description

Drawing-related concepts like Icons, Color, Image, ...

Enumeration Type Documentation

◆ HorizontalAlignment

Represents the horizontal alignment of, for example, icons or labels.

Enumerator
Left 

Indicates that the item's left sides are aligned horizontally.

Center 

Indicates that the item's centers are aligned horizontally.

Right 

Indicates that the item's right sides are aligned horizontally.

◆ MipmapFilteringType

Mipmap filtering is a technique used to reduce the visual artifacts that occurs when a high resolution texture is rendered onto a small surface.

The system uses lower resolution textures (mipmaps) to better approximate the exact color.

Enumerator
NoMipmapFiltering 

No mipmap filtering is applied.

NearestMipmapping 

Simplest filtering mode: only use the nearest fitted mipmap.

LinearMipmapping 

More advanced filtering mode: interpolate linearly between multiple level of mipmaps.

BasedOnData 

Do not override the filtering mode and use the mode specified in the data.

If the data does not define any mode then no mipmap filtering will be assumed.

◆ PixelFormat

Enumeration for the supported pixel formats.

Enumerator
Rgb888 

RGB values using 24 bits, i.e., 3 unsigned bytes.

Rgba8888 

RGBA values using 32 bits, i.e., 4 unsigned bytes.

Float32 

Single band 32-bit float values.

Rgb32 

RGB values with each band using 32 bits, i.e., 3 floats.

Since
2021.1
UnsignedShort 

16-bit unsigned integer values

Rgb565 

RGB values using 16 bits, i.e., 2 unsigned bytes, layed out as 5+6+5 bits.

Since
2021.1

◆ VerticalAlignment

Represents the vertical alignment of, for example, icons or labels.

Enumerator
Top 

Indicates that the item's top sides are aligned vertically.

Center 

Indicates that the item's centers are aligned vertically.

Bottom 

Indicates that the item's bottom sides are aligned vertically.