Class TBGRAColorBox
Unit
Declaration
type TBGRAColorBox = class(TObject)
Description
Box area in the colorspace allowing to split in two different areas
Hierarchy
- TObject
- TBGRAColorBox
Overview
Methods
constructor Create(ADimensions: TColorDimensions; APalette: TBGRACustomPalette); overload; |
|
constructor Create(ADimensions: TColorDimensions; ABitmap: TBGRACustomBitmap; AAlpha: TAlphaChannelPaletteOption); overload; |
|
constructor Create(ADimensions: TColorDimensions; AColors: PBGRAPixel; ANbPixels: integer; AAlpha: TAlphaChannelPaletteOption); overload; |
|
constructor Create(ADimensions: TColorDimensions; AColors: ArrayOfWeightedColor; AOwner: boolean); overload; |
|
constructor Create(ADimensions: TColorDimensions; const AColors: ArrayOfTBGRAPixel; AAlpha: TAlphaChannelPaletteOption = acFullChannelInPalette); overload; |
|
constructor Create(ADimensions: TColorDimensions; ABounds: TColorBoxBounds); overload; |
|
function BoundsContain(AColor: TBGRAPixel): boolean; |
|
function Duplicate: TBGRAColorBox; |
|
function GetAsArrayOfColors(AIncludePureTransparent: boolean): ArrayOfTBGRAPixel; |
|
function MedianCut(ADimension: TColorDimension; out SuperiorMiddle: UInt32): TBGRAColorBox; |
Properties
property ApparentInterval[AChannel: TColorDimension]: UInt32 read GetApparentInterval; |
|
property AverageColor: TBGRAPixel read GetAverageColor; |
|
property AverageColorOrMainColor: TBGRAPixel read GetAverageColorOrMainColor; |
|
property Bounds[ADimension: TColorDimension]: TDimensionMinMax read GetBounds; |
|
property ColorCount[ACountPureTransparent: boolean]: integer read GetColorCount; |
|
property HasPureTransparentColor: boolean read GetHasPureTransparentColor; |
|
property InferiorColor: TBGRAPixel read GetInferiorColor; |
|
property LargestApparentDimension: TColorDimension read GetLargestApparentDimension; |
|
property LargestApparentInterval: UInt32 read GetLargestApparentInterval; |
|
property PointLike: boolean read GetPointLike; |
|
property PureTransparentColorCount: integer read FPureTransparentColorCount; |
|
property SuperiorColor: TBGRAPixel read GetSuperiorColor; |
|
property TotalWeight: UInt32 read FTotalWeight; |
Description
Methods
constructor Create(ADimensions: TColorDimensions; APalette: TBGRACustomPalette); overload; |
|
This item has no description. |
constructor Create(ADimensions: TColorDimensions; ABitmap: TBGRACustomBitmap; AAlpha: TAlphaChannelPaletteOption); overload; |
|
This item has no description. |
constructor Create(ADimensions: TColorDimensions; AColors: PBGRAPixel; ANbPixels: integer; AAlpha: TAlphaChannelPaletteOption); overload; |
|
This item has no description. |
constructor Create(ADimensions: TColorDimensions; AColors: ArrayOfWeightedColor; AOwner: boolean); overload; |
|
This item has no description. |
constructor Create(ADimensions: TColorDimensions; const AColors: ArrayOfTBGRAPixel; AAlpha: TAlphaChannelPaletteOption = acFullChannelInPalette); overload; |
|
This item has no description. |
constructor Create(ADimensions: TColorDimensions; ABounds: TColorBoxBounds); overload; |
|
This item has no description. |
function BoundsContain(AColor: TBGRAPixel): boolean; |
|
This item has no description. |
function Duplicate: TBGRAColorBox; |
|
This item has no description. |
function GetAsArrayOfColors(AIncludePureTransparent: boolean): ArrayOfTBGRAPixel; |
|
This item has no description. |
function MedianCut(ADimension: TColorDimension; out SuperiorMiddle: UInt32): TBGRAColorBox; |
|
This item has no description. |
Properties
property ApparentInterval[AChannel: TColorDimension]: UInt32 read GetApparentInterval; |
|
This item has no description. |
property AverageColor: TBGRAPixel read GetAverageColor; |
|
This item has no description. |
property AverageColorOrMainColor: TBGRAPixel read GetAverageColorOrMainColor; |
|
This item has no description. |
property Bounds[ADimension: TColorDimension]: TDimensionMinMax read GetBounds; |
|
This item has no description. |
property ColorCount[ACountPureTransparent: boolean]: integer read GetColorCount; |
|
This item has no description. |
property HasPureTransparentColor: boolean read GetHasPureTransparentColor; |
|
This item has no description. |
property InferiorColor: TBGRAPixel read GetInferiorColor; |
|
This item has no description. |
property LargestApparentDimension: TColorDimension read GetLargestApparentDimension; |
|
This item has no description. |
property LargestApparentInterval: UInt32 read GetLargestApparentInterval; |
|
This item has no description. |
property PointLike: boolean read GetPointLike; |
|
This item has no description. |
property PureTransparentColorCount: integer read FPureTransparentColorCount; |
|
This item has no description. |
property SuperiorColor: TBGRAPixel read GetSuperiorColor; |
|
This item has no description. |
property TotalWeight: UInt32 read FTotalWeight; |
|
This item has no description. |