namespace UglyToad.PdfPig.Graphics.Core { /// /// The text rendering mode determines whether showing text causes glyph outlines to be stroked, filled, used as a clipping boundary, /// or some combination of the three. /// public enum TextRenderingMode { /// /// Fill text. /// /// /// Corresponds to filling the entire letter region. /// Fill = 0, /// /// Stroke text. /// /// /// Corresponds to drawing the border/outline of the letter. /// Stroke = 1, /// /// Fill then stroke text. /// FillThenStroke = 2, /// /// Neither fill nor stroke text thereby causing text to become invisible. /// Neither = 3, /// /// Fill the text and add to the clipping path. /// FillClip = 4, /// /// Stroke the text and add to the clipping path. /// StrokeClip = 5, /// /// Fill then stroke the text and then add to the clipping path. /// FillThenStrokeClip = 6, /// /// Neither fill nor stroke but add to the clipping path. /// NeitherClip = 7 } }