Table of Contents

Field MaxCachedPenWidth

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

Represents the maximum width, in dips, of a pen that can be cached in GetPen(int) method.

public static readonly int MaxCachedPenWidth

Returns

int
Represents the maximum width, in dips, of a pen that can be cached in method.

Remarks

This value is used to limit the size of pens stored in the cache to optimize performance and memory usage. Pens with a width greater than this value will not be cached by GetPen(int) method.