Table of Contents

Method Cell

Namespace
DocWright.Core.Rendering
Assembly
DocWright.Core.dll

Cell(int, out ColorRgb, out byte)

The colour and opacity of a coverage tile's cell: the foreground over the background at the cell's coverage, composited premultiplied, the way a brush paints a partly covered pixel — so a clear background lends no colour.

public void Cell(int index, out ColorRgb color, out byte alpha)

Parameters

index int

The cell, 0 to 63, row by row from the top-left.

color ColorRgb

The cell's colour.

alpha byte

The cell's opacity, 0 to 255.

Exceptions

InvalidOperationException

The pattern is a two-colour tile.