[]
Defines text formatting attributes.
public interface ITextAttrs
Gets the Font object.
Font Font { get; }
Gets the font size.
float FontSize { get; }
Gets the non-stroke (fill) color used if RenderingMode is Fill, FillClip FillStroke or FillStrokeClip.
Note that this can return null if the stroke method cannot be converted to a single color (e.g. if the stroke is specified as a pattern).
Color? NonstrokeColor { get; }
Gets the PDF text rendering mode.
TextRenderingMode RenderingMode { get; }
Gets the stroke color used if RenderingMode is FillStroke, FillStrokeClip Stroke or StrokeClip.
Note that this can return null if the stroke method cannot be converted to a single color (e.g. if the stroke is specified as a pattern).
Color? StrokeColor { get; }