Delphi XE2의 FireMonkey 시작하기(14) - 필터: 개요
32206 단어 Delphi
FMX.Filter
FMX.FilterCatBlur
FMX.FilterCatGeometry
FMX.FilterCatTransition
FMX_FilterCatColor
FMX_FilterCatColorAdjust
FMX_FilterCatComposite
FMX_FilterCatGenerator
FMX_FilterCatStyle
FMX_FilterCatTiles
FMX.FilterCatDistortion
FM은 다음과 같은 10가지 유형의 필터를 제공합니다.
{ }
Blur //FMX.FilterCatBlur
Geometry //FMX.FilterCatGeometry
Transition //FMX.FilterCatTransition
Color //FMX_FilterCatColor
Color Adjust //FMX_FilterCatColorAdjust
Composite //FMX_FilterCatComposite
Generator //FMX_FilterCatGenerator
Style //FMX_FilterCatStyle
Tiles //FMX_FilterCatTiles
Distortion //FMX.FilterCatDistortion
각 분류에는 다음과 같은 몇 개의 필터가 포함됩니다.
{ Blur }
GaussianBlur
BoxBlur
DirectionalBlur
RadialBlur
{ Geometry }
AffineTransform
PerspectiveTransform
Crop
{ Transition }
BandedSwirlTransition
lindTransition
loodTransition
ircleTransition
agnifyTransition
rumpleTransition
issolveTransition
ropTransition
adeTransition
rightTransition
ixelateTransition
lurTransition
iggleTransition
hapeTransition
ippleTransition
otateCrumpleTransition
aturateTransition
lideTransition
wirlTransition
aterTransition
aveTransition
ineTransition
{ Color }
Invert
onochrome
olorKeyAlpha
askToAlpha
{ Color Adjust }
HueAdjust
ontrast
loom
loom
{ Composite }
NormalBlend
{ Generator }
Fill
illRGB
{ Style }
Pixelate
mboss
harpen
oon
epia
aperSketch
encilStroke
{ Tiles }
Tiler
{ Distortion }
Ripple
wirl
agnify
moothMagnify
ands
ave
rap
andedSwirl
inch
필터 매개 변수:
: TGaussianBlurFilter
: GaussianBlur
: An effect that GaussianBlurs.
: BlurAmount
: The GaussianBlur factor.
: vtFloat
: 1
: .01
: 1
: 10
//------------------------------------------------
: TBlurFilter
: BoxBlur
: An effect that blurs.
: BlurAmount
: The blur factor.
: vtFloat
: 1
: .01
: 1
: 10
//------------------------------------------------
: TDirectionalBlurFilter
: DirectionalBlur
: An effect that blurs in a single direction.
: Angle
: The direction of the blur (in degrees).
: vtFloat
: 0
: 0
: 0
: 360
: BlurAmount
: The scale of the blur (as a fraction of the input size).
: vtFloat
: 1
: .01
: 1
: 10
//------------------------------------------------
: TZoomBlurFilter
: RadialBlur
: An effect that applies a radial blur to the input.
: Center
: The center point of the ripples.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: BlurAmount
: The scale of the blur (as a fraction of the input size).
: vtFloat
: 1
: .01
: 1
: 10
//------------------------------------------------
: TAffineFilter
: AffineTransform
: Applies an affine transform to an image.
: Center
: The center point of the rotation.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Rotation
: Rotation angle in degrees.
: vtFloat
: 0
: -180
: 0
: 180
: Scale
: Scale value as floating.
: vtFloat
: 1
: .05
: 1
: 4
//------------------------------------------------
: TPerspectiveFilter
: PerspectiveTransform
: Applies an perspective transform to an image.
: TopLeft
: Top left point of result transformation.
: vtPoint
: fxpoint 0:0
: fxpoint 0:0
: fxpoint 0:0
: fxpoint 65535:65535
: TopRight
: Top right point of result transformation.
: vtPoint
: fxpoint 300:0
: fxpoint 0:0
: fxpoint 300:0
: fxpoint 65535:65535
: BottomRight
: Bottom right point of result transformation.
: vtPoint
: fxpoint 350:300
: fxpoint 0:0
: fxpoint 350:300
: fxpoint 65535:65535
: BottomLeft
: Bottom left point of result transformation.
: vtPoint
: fxpoint 0:300
: fxpoint 0:0
: fxpoint 0:300
: fxpoint 65535:65535
//------------------------------------------------
: TCropFilter
: Crop
: The size and shape of the cropped image depend on the rectangle you specify.
: LeftTop
: Left-top corner of cropping rect
: vtPoint
: fxpoint 0:0
: fxpoint 0:0
: fxpoint 0:0
: fxpoint 65535:65535
: RightBottom
: Left-top corner of cropping rect
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
//------------------------------------------------
: TBandedSwirlTransition
: BandedSwirlTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Strength
: The amount of twist to the spiral.
: vtFloat
: 1
: 0
: 1
: 10
: Frequency
: The frequency of the spiral.
: vtFloat
: 20
: 0
: 20
: 100
: Center
: The center point of the ripples.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TBlindTransition
: BlindTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: NumberOfBlinds
: The number of Blinds strips
: vtFloat
: 5
: 2
: 5
: 15
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TBloodTransition
: BloodTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: RandomSeed
: The seed value that determines dripiness.
: vtFloat
: .3
: 0
: .3
: 1
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TCircleTransition
: CircleTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: FuzzyAmount
: The fuzziness factor.
: vtFloat
: .1
: 0
: .1
: 1
: Size
: The size of the circle.
: vtFloat
: 1
: 0
: 1
: 2
: Center
: The center point of effect.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TMagnifyTransition
: MagnifyTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Center
: The center point of effect.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TCrumpleTransition
: CrumpleTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: RandomSeed
: The seed value that determines dripiness.
: vtFloat
: 0
: -1
: 0
: 1
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TDissolveTransition
: DissolveTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: RandomSeed
: The seed value that determines dripiness.
: vtFloat
: 0
: -1
: 0
: 1
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TDropTransition
: DropTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: RandomSeed
: The seed value that determines dripiness.
: vtFloat
: 0
: -1
: 0
: 1
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TFadeTransition
: FadeTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TBrightTransition
: BrightTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TPixelateTransition
: PixelateTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TBlurTransition
: BlurTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TWiggleTransition
: WiggleTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TShapeTransition
: ShapeTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TRippleTransition
: RippleTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TRotateCrumpleTransition
: RotateCrumpleTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: RandomSeed
: The seed value that determines dripiness.
: vtFloat
: 0
: -1
: 0
: 1
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TSaturateTransition
: SaturateTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TSlideInTransition
: SlideTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: SlideAmount
: The center point of the ripples.
: vtPoint
: fxpoint 150:150
: fxpoint -65535:-65535
: fxpoint 150:150
: fxpoint 65535:65535
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TSwirlTransition
: SwirlTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Strength
: The amount of twist to the spiral.
: vtFloat
: 30
: -70
: 30
: 70
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TWaterTransition
: WaterTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: RandomSeed
: The seed value that determines dripiness.
: vtFloat
: .3
: 0
: .3
: 1
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TWaveTransition
: WaveTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TLineTransition
: LineTransition
: A transition effect.
: Progress
: The amount(%) of the transition from first texture to the second texture.
: vtFloat
: 30
: 0
: 30
: 100
: Origin
: The line origin.
: vtPoint
: fxpoint 0:0
: fxpoint 0:0
: fxpoint 0:0
: fxpoint 65535:65535
: Normal
: The line normal.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Offset
: The line offset.
: vtPoint
: fxpoint 400:400
: fxpoint 0:0
: fxpoint 400:400
: fxpoint 65535:65535
: FuzzyAmount
: The fuzziness factor.
: vtFloat
: .1
: 0
: .1
: 1
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TInvertFilter
: Invert
: An effect that inverts all colors.
//------------------------------------------------
: TMonochromeFilter
: Monochrome
: Remaps colors so they fall within shades of a single color.
//------------------------------------------------
: TColorKeyAlphaFilter
: ColorKeyAlpha
: An effect that makes pixels of a particular color transparent.
: ColorKey
: The color that becomes transparent.
: vtFloat
: 0
: -1
: 0
: 1
: Tolerance
: The tolerance in color differences.
: vtFloat
: .3
: 0
: .3
: 1
//------------------------------------------------
: TMaskToAlphaFilter
: MaskToAlpha
: Converts a grayscale image to a white image that is masked by alpha.
//------------------------------------------------
: THueAdjustFilter
: HueAdjust
: Changes the overall hue, or tint, of the source pixels.
: Hue
: The hue offset.
: vtFloat
: 0
: -1
: 0
: 1
//------------------------------------------------
: TContrastFilter
: Contrast
: An effect that controls brightness and contrast.
: Brightness
: The brightness offset.
: vtFloat
: 0
: -1
: 0
: 1
: Contrast
: The contrast multiplier.
: vtFloat
: 1.5
: 0
: 1.5
: 2
//------------------------------------------------
: TBloomFilter
: Bloom
: An effect that intensifies bright regions.
: BloomIntensity
: Intensity of the bloom image.
: vtFloat
: 1
: 0
: 1
: 1
: BaseIntensity
: Intensity of the base image.
: vtFloat
: .5
: 0
: .5
: 1
: BloomSaturation
: Saturation of the bloom image.
: vtFloat
: 1
: 0
: 1
: 1
: BaseSaturation
: Saturation of the base image.
: vtFloat
: .5
: 0
: .5
: 1
//------------------------------------------------
: TGloomFilter
: Gloom
: An effect that intensifies dark regions.
: GloomIntensity
: Intensity of the gloom image.
: vtFloat
: 1
: 0
: 1
: 1
: BaseIntensity
: Intensity of the base image.
: vtFloat
: .5
: 0
: .5
: 1
: GloomSaturation
: Saturation of the gloom image.
: vtFloat
: 1
: 0
: 1
: 1
: BaseSaturation
: Saturation of the base image.
: vtFloat
: .5
: 0
: .5
: 1
//------------------------------------------------
: TNormalBlendFilter
: NormalBlend
: Normal blending of two images.
: Target
: The target bitmap.
: vtBitmap
//------------------------------------------------
: TFillFilter
: Fill
: Generates a solid color.
: Color
: The fill color.
: vtColor
: 4280299584
: 0
: 4280299584
: 0
//------------------------------------------------
: TFillOpaqueFilter
: FillRGB
: Fill all pixels with not empty alpha.
: Color
: The fill color.
: vtColor
: 4280299584
: 0
: 4280299584
: 0
//------------------------------------------------
: TPixelateFilter
: Pixelate
:
: BlockCount
: The number of pixel blocks.
: vtFloat
: 25
: 1
: 25
: 1000
//------------------------------------------------
: TEmbossFilter
: Emboss
: An effect that embosses the input.
: Amount
: The amplitude of the embossing.
: vtFloat
: .5
: 0
: .5
: 1
: Width
: The separation between samples (as a fraction of input size).
: vtFloat
: 3
: 0
: 3
: 10
//------------------------------------------------
: TSharpenFilter
: Sharpen
: An effect that sharpens the input.
: Amount
: The amount of sharpening.
: vtFloat
: 1
: 0
: 1
: 2
//------------------------------------------------
: TToonFilter
: Toon
: An effect that applies cartoon-like shading (posterization).
: Levels
: The number of color levels to use.
: vtFloat
: 5
: 3
: 5
: 15
//------------------------------------------------
: TSepiaFilter
: Sepia
: Sepia effect.
: Amount
: The amount of sharpening.
: vtFloat
: .5
: 0
: .5
: 1
//------------------------------------------------
: TPaperSketchFilter
: PaperSketch
: An paper sketch effect.
: BrushSize
: The brush size of the sketch effect.
: vtFloat
: 3
: .6
: 3
: 10
//------------------------------------------------
: TPencilStrokeFilter
: PencilStroke
: An pencil stroke effect.
: BrushSize
: The brush size of the sketch effect.
: vtFloat
: 5
: 1
: 5
: 19
//------------------------------------------------
: TTilerFilter
: Tiler
: Pixel shader tiles the image across multiple rows and columns
: VerticalTileCount
: The number of verical tiles to add to the output. The higher the value the more tiles.
: vtFloat
: 4
: 0
: 4
: 20
: HorizontalTileCount
: The number of horizontal tiles to add to the output. The higher the value the more tiles.
: vtFloat
: 3
: 0
: 3
: 20
: HorizontalOffset
: Change the horizontal offset of each tile.
: vtFloat
: 0
: 0
: 0
: 1
: VerticalOffset
: Change the vertical offset of each tile.
: vtFloat
: 0
: 0
: 0
: 1
//------------------------------------------------
: TRippleFilter
: Ripple
: An effect that superimposes rippling waves upon the input.
: Center
: The center point of the ripples.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Amplitude
: The amplitude of the ripples.
: vtFloat
: .1
: 0
: .1
: 1
: Frequency
: The frequency of the ripples.
: vtFloat
: 70
: 0
: 70
: 100
: Phase
: The phase of the ripples.
: vtFloat
: 0
: -20
: 0
: 20
: AspectRatio
: The aspect ratio (width / height) of the input.
: vtFloat
: 1.5
: .5
: 1.5
: 2
//------------------------------------------------
: TSwirlFilter
: Swirl
: An effect that swirls the input in a spiral.
: Center
: The center point of the ripples.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Strength
: The amount of twist to the spiral.
: vtFloat
: 10
: -70
: 10
: 70
: AspectRatio
: The aspect ratio (width / height) of the input.
: vtFloat
: 1.5
: .5
: 1.5
: 2
//------------------------------------------------
: TMagnifyFilter
: Magnify
: An effect that magnifies a circular region.
: Center
: The center point of the ripples.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Radius
: The radius of the magnified region.
: vtFloat
: .25
: 0
: .25
: 1
: Magnification
: The magnification factor.
: vtFloat
: 2
: 1
: 2
: 5
: AspectRatio
: The aspect ratio (width / height) of the input.
: vtFloat
: 1.5
: .5
: 1.5
: 2
//------------------------------------------------
: TSmoothMagnifyFilter
: SmoothMagnify
: An effect that magnifies a circular region.
: Center
: The center point of the ripples.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: InnerRadius
: The inner radius of the magnified region.
: vtFloat
: .2
: 0
: .2
: 1
: OuterRadius
: The outer radius of the magnified region.
: vtFloat
: .4
: 0
: .4
: 1
: Magnification
: The magnification factor.
: vtFloat
: 2
: 1
: 2
: 5
: AspectRatio
: The aspect ratio (width / height) of the input.
: vtFloat
: 1.5
: .5
: 1.5
: 2
//------------------------------------------------
: TBandsFilter
: Bands
: An effect that creates bands of bright regions.
: BandDensity
: The number of verical bands to add to the output. The higher the value the more bands.
: vtFloat
: 65
: 0
: 65
: 150
: BandIntensity
: Intensity of each band.
: vtFloat
: .2
: 0
: .2
: 1
//------------------------------------------------
: TWaveFilter
: Wave
: An effect that applies a wave pattern to the input.
: Time
: The moment in time. Animate this value over a long period of time. The speed depends on the size. The larger the size, the larger the increase in time on every frame, thus from 0 to 2048 in a smaller amount of time.
: vtFloat
: 0
: 0
: 0
: 2048
: WaveSize
: The distance between waves. (the higher the value the closer the waves are to their neighbor).
: vtFloat
: 64
: 32
: 64
: 256
//------------------------------------------------
: TWrapFilter
: Wrap
: Wrap image by two Bezier curves.
: LeftStart
: Left wrap curve start point
: vtFloat
: 0
: 0
: 0
: 1
: LeftControl1
: Left wrap curve control point 1
: vtFloat
: .25
: 0
: .25
: 1
: LeftControl2
: Left wrap curve control point 2
: vtFloat
: .25
: 0
: .25
: 1
: LeftEnd
: Left wrap curve end point
: vtFloat
: 0
: 0
: 0
: 1
: RightStart
: Right wrap curve start point
: vtFloat
: 1
: 0
: 1
: 1
: RightControl1
: Right wrap curve control point 1
: vtFloat
: .75
: 0
: .75
: 1
: RightControl2
: Right wrap curve control point 2
: vtFloat
: .75
: 0
: .75
: 1
: RightEnd
: Right wrap curve end point
: vtFloat
: 1
: 0
: 1
: 1
//------------------------------------------------
: TBandedSwirlFilter
: BandedSwirl
: An effect that swirls the input in alternating clockwise and counterclockwise bands.
: Center
: The center point of the ripples.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Bands
: The number of bands in the swirl.
: vtFloat
: 10
: 0
: 10
: 20
: Strength
: The amount of twist to the spiral.
: vtFloat
: 30
: -70
: 30
: 70
: AspectRatio
: The aspect ratio (width / height) of the input.
: vtFloat
: 1.5
: .5
: 1.5
: 2
//------------------------------------------------
: TPinchFilter
: Pinch
: An effect that pinches a circular region.
: Center
: The center point of the pinched region.
: vtPoint
: fxpoint 150:150
: fxpoint 0:0
: fxpoint 150:150
: fxpoint 65535:65535
: Radius
: The radius of the pinched region.
: vtFloat
: .25
: 0
: .25
: 1
: Strength
: The amount of twist to the spiral.
: vtFloat
: 10
: 0
: 10
: 20
: AspectRatio
: The aspect ratio (width / height) of the input.
: vtFloat
: 1.5
: .5
: 1.5
: 2
//------------------------------------------------
이 내용에 흥미가 있습니까?
현재 기사가 여러분의 문제를 해결하지 못하는 경우 AI 엔진은 머신러닝 분석(스마트 모델이 방금 만들어져 부정확한 경우가 있을 수 있음)을 통해 가장 유사한 기사를 추천합니다:
[Delphi] TStringBuilder그리고 꼭 사용해야만 할까? 그림처럼 Heap 영역에 "Hello" 공간을 생성하고 포인팅을 한다. "Hello World" 공간을 새로 생성한 후 포인팅을 하게 된다. 결국 "Hello" 라는 String 객체가 ...
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
CC BY-SA 2.5, CC BY-SA 3.0 및 CC BY-SA 4.0에 따라 라이센스가 부여됩니다.