Class TBaseFramer

Unit

Declaration

type TBaseFramer = class(TIDIObject)

Description

TBaseFramer

Hierarchy

Overview

Methods

Public procedure AfterConstruction; override;
Public procedure BeforeDestruction; override;
Public procedure BaseAssign(_Source: TObject; AssignClasses: Boolean); override;
Public procedure LoadGraphicStream (AStream: TStream; AGraphic: TGraphic; const AExtension: WideString);
Public function UsesSmartColor: Boolean; virtual;
Public procedure Frame (AGraphic: TGraphic; var AResult: TBitmap; AStyle: TFramingStyle = frFit; AMethod: TFramingMethod = fmNormal; AAvgColor: TColor = clBlack; AAccentFramer: TBaseFramer = nil); virtual;
Public function FrameBitmap (ABitmap: TvxBitmap32; AMethod: TFramingMethod = fmNormal; AAvgColor: TColor = clBlack; AAccentFramer: TBaseFramer = nil; APrepare: Boolean = False): TRect; virtual;

Properties

Public property Description: WideString read GetDescription;
Public property CustomMaskStream: TDataMemoryStream read FCustomMaskStream write FCustomMaskStream;
Public property FrameTextureStream: TDataMemoryStream read FFrameTextureStream write FFrameTextureStream;
Published property FrameColor: TColor read FFrameColor write FFrameColor;
Published property FrameStyle: TFrameStyle read FFrameStyle write FFrameStyle;
Published property FrameFillStyle: TFillStyle read FFrameFillStyle write FFrameFillStyle;
Published property FrameTexture: TPicture read FFrameTexture write FFrameTexture;
Published property TextureStyle: TFrameTextureStyle read FTextureStyle write FTextureStyle;
Published property FrameSize: Real read FFrameSize write FFrameSize;
Published property FrameSizeLeft: Real read FFrameSizeLeft write FFrameSizeLeft;
Published property FrameSizeTop: Real read FFrameSizeTop write FFrameSizeTop;
Published property FrameSizeRight: Real read FFrameSizeRight write FFrameSizeRight;
Published property FrameSizeBottom: Real read FFrameSizeBottom write FFrameSizeBottom;
Published property FrameUnit: TFrameUnit read FFrameUnit write FFrameUnit;
Published property TransparantFrame: Boolean read FTransparantFrame write FTransparantFrame;
Published property DropShadow: Boolean read FDropShadow write FDropShadow;
Published property ShadowColor: TColor read FShadowColor write FShadowColor;
Published property ShadowBackColor: TColor read FShadowBackColor write FShadowBackColor;
Published property ShadowStyle: TShadowStyle read FShadowStyle write FShadowStyle;
Published property ShadowEndStyle: TShadowEndStyle read FShadowEndStyle write FShadowEndStyle;
Published property ShadowSize: Integer read FShadowSize write FShadowSize;
Published property ShadowUnit: TFrameUnit read FShadowUnit write FShadowUnit;
Published property ShadowDirection: TWindDirection read FShadowDirection write FShadowDirection;
Published property ShadowPosition: TShadowPosition read FShadowPosition write FShadowPosition;
Published property ShadowBlur: Integer read FShadowBlur write FShadowBlur;
Published property CustomMask: TPicture read FCustomMask write FCustomMask;
Published property MaskInvert: Boolean read FMaskInvert write FMaskInvert;
Published property Effect: TEffectObject read FEffect write FEffect;
Published property CustomMaskExt: WideString read FCustomMaskExt write FCustomMaskExt;
Published property FrameTextureExt: WideString read FFrameTextureExt write FFrameTextureExt;
Published property GradientColor: TColor read FGradientColor write FGradientColor;
Published property GradientDirection: TGradientDirection read FGradientDirection write FGradientDirection;
Published property GradientPosition: Integer read FGradientPosition write FGradientPosition;
Published property ClipFrameColor: Boolean read FClipFrameColor write FClipFrameColor;

Description

Methods

Public procedure AfterConstruction; override;
 
Public procedure BeforeDestruction; override;
 
Public procedure BaseAssign(_Source: TObject; AssignClasses: Boolean); override;
 
Public procedure LoadGraphicStream (AStream: TStream; AGraphic: TGraphic; const AExtension: WideString);
 
Public function UsesSmartColor: Boolean; virtual;
 
Public procedure Frame (AGraphic: TGraphic; var AResult: TBitmap; AStyle: TFramingStyle = frFit; AMethod: TFramingMethod = fmNormal; AAvgColor: TColor = clBlack; AAccentFramer: TBaseFramer = nil); virtual;
 
Public function FrameBitmap (ABitmap: TvxBitmap32; AMethod: TFramingMethod = fmNormal; AAvgColor: TColor = clBlack; AAccentFramer: TBaseFramer = nil; APrepare: Boolean = False): TRect; virtual;

frame a bitmap and return the area of the framed image

Properties

Public property Description: WideString read GetDescription;
 
Public property CustomMaskStream: TDataMemoryStream read FCustomMaskStream write FCustomMaskStream;
 
Public property FrameTextureStream: TDataMemoryStream read FFrameTextureStream write FFrameTextureStream;
 
Published property FrameColor: TColor read FFrameColor write FFrameColor;
 
Published property FrameStyle: TFrameStyle read FFrameStyle write FFrameStyle;
 
Published property FrameFillStyle: TFillStyle read FFrameFillStyle write FFrameFillStyle;
 
Published property FrameTexture: TPicture read FFrameTexture write FFrameTexture;
 
Published property TextureStyle: TFrameTextureStyle read FTextureStyle write FTextureStyle;
 
Published property FrameSize: Real read FFrameSize write FFrameSize;
 
Published property FrameSizeLeft: Real read FFrameSizeLeft write FFrameSizeLeft;
 
Published property FrameSizeTop: Real read FFrameSizeTop write FFrameSizeTop;
 
Published property FrameSizeRight: Real read FFrameSizeRight write FFrameSizeRight;
 
Published property FrameSizeBottom: Real read FFrameSizeBottom write FFrameSizeBottom;
 
Published property FrameUnit: TFrameUnit read FFrameUnit write FFrameUnit;
 
Published property TransparantFrame: Boolean read FTransparantFrame write FTransparantFrame;
 
Published property DropShadow: Boolean read FDropShadow write FDropShadow;
 
Published property ShadowColor: TColor read FShadowColor write FShadowColor;
 
Published property ShadowBackColor: TColor read FShadowBackColor write FShadowBackColor;
 
Published property ShadowStyle: TShadowStyle read FShadowStyle write FShadowStyle;
 
Published property ShadowEndStyle: TShadowEndStyle read FShadowEndStyle write FShadowEndStyle;
 
Published property ShadowSize: Integer read FShadowSize write FShadowSize;
 
Published property ShadowUnit: TFrameUnit read FShadowUnit write FShadowUnit;
 
Published property ShadowDirection: TWindDirection read FShadowDirection write FShadowDirection;
 
Published property ShadowPosition: TShadowPosition read FShadowPosition write FShadowPosition;
 
Published property ShadowBlur: Integer read FShadowBlur write FShadowBlur;
 
Published property CustomMask: TPicture read FCustomMask write FCustomMask;
 
Published property MaskInvert: Boolean read FMaskInvert write FMaskInvert;
 
Published property Effect: TEffectObject read FEffect write FEffect;
 
Published property CustomMaskExt: WideString read FCustomMaskExt write FCustomMaskExt;
 
Published property FrameTextureExt: WideString read FFrameTextureExt write FFrameTextureExt;
 
Published property GradientColor: TColor read FGradientColor write FGradientColor;
 
Published property GradientDirection: TGradientDirection read FGradientDirection write FGradientDirection;
 
Published property GradientPosition: Integer read FGradientPosition write FGradientPosition;
 
Published property ClipFrameColor: Boolean read FClipFrameColor write FClipFrameColor;
 

Generated by PasDoc 0.15.0.