DiagramParagraphCacheKey constructor
DiagramParagraphCacheKey(
- TextParagraph block,
- DiagramTextRegionLayout region,
- double availableWidth
Implementation
DiagramParagraphCacheKey(
TextParagraph block,
DiagramTextRegionLayout region,
double availableWidth,
) : runs = block.runs,
role = block.role,
alignment = block.alignment,
direction = block.direction,
foreground = region.foreground,
defaultFontSize = region.defaultFontSize,
width = availableWidth,
wrap = region.wrapText,
singleLine = region.singleLine;