PeachBrackets

PeachBrackets

ClippedTextEntry Struct

A word that was drawn but not fully visible, with the size it was drawn at and how much of it showed.

public readonly record struct ClippedTextEntry : System.IEquatable<PeachBrackets.ClippedTextEntry>

Implements System.IEquatable<ClippedTextEntry>

Constructors  
ClippedTextEntry(string, double, double, double, double) A word that was drawn but not fully visible, with the size it was drawn at and how much of it showed.
Properties  
DrawnHeight the height the word was laid out at, in layout units
DrawnWidth the width the word was laid out at, in layout units
Text the word’s text
VisibleHeight how much of that height fell inside the clip, in layout units
VisibleWidth how much of that width fell inside the clip, in layout units