Skip to content

Commit

Permalink
Add docs (#16368)
Browse files Browse the repository at this point in the history
  • Loading branch information
GaryQian committed Feb 4, 2020
1 parent 1cd8f3b commit b98a39e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/ui/text.dart
Expand Up @@ -1620,6 +1620,8 @@ class ParagraphConstraints {

/// Defines various ways to vertically bound the boxes returned by
/// [Paragraph.getBoxesForRange].
///
/// See [BoxWidthStyle] for a similar property to control width.
enum BoxHeightStyle {
/// Provide tight bounding boxes that fit heights per run. This style may result
/// in uneven bounding boxes that do not nicely connect with adjacent boxes.
Expand Down Expand Up @@ -1675,6 +1677,8 @@ enum BoxHeightStyle {

/// Defines various ways to horizontally bound the boxes returned by
/// [Paragraph.getBoxesForRange].
///
/// See [BoxHeightStyle] for a similar property to control height.
enum BoxWidthStyle {
/// Provide tight bounding boxes that fit widths to the runs of each line
/// independently.
Expand Down

0 comments on commit b98a39e

Please sign in to comment.