Show / Hide Table of Contents

Interface ITexture

Represents a generic texture.

Namespace: RGB.NET.Core
Assembly: RGB.NET.Core.dll
Syntax
public interface ITexture

Properties

| Edit this page View Source

Empty

Gets a empty texture.

Declaration
public static ITexture Empty { get; }
Property Value
Type Description
ITexture
| Edit this page View Source

this[Point]

Gets the color at the specified location.

Declaration
Color this[in Point point] { get; }
Parameters
Type Name Description
Point point

The location to get the color from.

Property Value
Type Description
Color

The color at the specified location.

| Edit this page View Source

this[Rectangle]

Gets the sampled color inside the specified rectangle.

Declaration
Color this[in Rectangle rectangle] { get; }
Parameters
Type Name Description
Rectangle rectangle

The rectangle to get the color from.

Property Value
Type Description
Color

The sampled color.

| Edit this page View Source

Size

Gets the size of the texture

Declaration
Size Size { get; }
Property Value
Type Description
Size
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX