BlurHashExtensions extension
- on
Properties
- averageLinearRgb → ColorTriplet
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns the average linear RGB.no setter - isBottomEdgeDark → bool
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the bottom edge is considered dark. See BlurHashExtensions.isDarkAtY to set a custom threshold.no setter - isBottomLeftCornerDark → bool
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the bottom-left corner is considered dark. See BlurHashExtensions.isDarkAtPos to set a custom threshold.no setter - isBottomRightCornerDark → bool
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the bottom-right corner is considered dark. See BlurHashExtensions.isDarkAtPos to set a custom threshold.no setter - isDark → bool
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the average brightness is considered dark. See BlurHashExtensions.isAverageDark to set a custom threshold.no setter - isLeftEdgeDark → bool
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the left edge is considered dark. See BlurHashExtensions.isDarkAtX to set a custom threshold.no setter - isRightEdgeDark → bool
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the right edge is considered dark. See BlurHashExtensions.isDarkAtX to set a custom threshold.no setter - isTopEdgeDark → bool
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the top edge is considered dark. See BlurHashExtensions.isDarkAtY to set a custom threshold.no setter - isTopLeftCornerDark → bool
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the top-left corner is considered dark. See BlurHashExtensions.isDarkAtPos to set a custom threshold.no setter - isTopRightCornerDark → bool
-
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the top-right corner is considered dark. See BlurHashExtensions.isDarkAtPos to set a custom threshold.no setter - mirroredHorizontally → BlurHash
-
Available on BlurHash, provided by the BlurHashExtensions extension
Mirrors the BlurHash horizontally.no setter - mirroredVertically → BlurHash
-
Available on BlurHash, provided by the BlurHashExtensions extension
Mirrors the BlurHash vertically.no setter - transposed → BlurHash
-
Available on BlurHash, provided by the BlurHashExtensions extension
Transposes the BlurHash.no setter
Methods
-
isAverageDark(
{double? threshold}) → bool -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the average brightness is considered dark. -
isColorDark(
ColorTriplet color, {double threshold = 0.3}) → bool -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the given color is considered dark. The color must be given as a linear RGB color. -
isDarkAtPos(
double x, double y, {double? threshold}) → bool -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the given point is considered dark. -
isDarkAtX(
double x, {double? threshold}) → bool -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the given row is considered dark. -
isDarkAtY(
double y, {double? threshold}) → bool -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the given row is considered dark. -
isRectDark(
Point< double> topLeftCorner, Point<double> bottomRightCorner, {double? threshold}) → bool -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns whether the given rectangular region is considered dark. -
linearRgbAt(
double x, double y) → ColorTriplet -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns linear RGB for a point. -
linearRgbAtX(
double x) → ColorTriplet -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns linear RGB for the given column. -
linearRgbAtY(
double y) → ColorTriplet -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns linear RGB for the given row. -
linearRgbInRect(
Point< double> topLeftCorner, Point<double> bottomRightCorner) → ColorTriplet -
Available on BlurHash, provided by the BlurHashExtensions extension
Returns linear RGB for a rectangular region.