input
stringlengths
10
828
output
stringlengths
5
107
public int get bottom border return bottom border
returns the border border value
public void set border paint paint border paint this border paint border paint
set the border paint
public void set composite composite composite this composite composite
set the composite with which to paint the text
public paint get border paint return border paint
get the border paint
public void set paint paint paint this paint paint
set the paint with which to paint the text
public void set gain float gain this gain gain initialized false
set the gain
public void set transform affine transform transform this transform transform
set the transform with which to paint the text
public float get gain return gain
get the gain
public void set bias float bias this bias bias initialized false
set the bias
public float get bias return bias
get the bias
public affine transform get transform return transform
get the transform with which to paint the text
public void set blur float blur this blur blur
set the blur that is applied before thresholding
public float get blur return blur
set the blur that is applied before thresholding
public kernel get kernel return kernel
get the convolution kernel
public void set glint only boolean glint only this glint only glint only
set whether to render the stars and the image or only the stars
public void set edge action int edge action this edge action edge action
set the action to perfomr for pixels off the image edges
public boolean get glint only return glint only
get whether to render the stars and the image or only the stars
public void set colormap colormap colormap this colormap colormap
set the colormap to be used for the filter
public int get edge action return edge action
get the action to perfomr for pixels off the image edges
public colormap get colormap return colormap
get the colormap to be used for the filter
public void set use alpha boolean use alpha this alpha use alpha
set whether to convolve the alpha channel
public void set xamplitude float x amplitude this x amplitude x amplitude
set the amplitude of ripple in the x direction
public boolean get use alpha return alpha
get whether to convolve the alpha channel
public float get xamplitude return x amplitude
get the amplitude of ripple in the x direction
public void set premultiply alpha boolean premultiply alpha this premultiply alpha premultiply alpha
set whether to premultiply the alpha channel
public void set xwavelength float x wavelength this x wavelength x wavelength
set the wavelength of ripple in the x direction
public float get xwavelength return x wavelength
get the wavelength of ripple in the x direction
public boolean get premultiply alpha return premultiply alpha
get whether to premultiply the alpha channel
public void set yamplitude float y amplitude this y amplitude y amplitude
set the amplitude of ripple in the y direction
public float get yamplitude return y amplitude
get the amplitude of ripple in the y direction
public void set ywavelength float y wavelength this y wavelength y wavelength
set the wavelength of ripple in the y direction
public float get ywavelength return y wavelength
get the wavelength of ripple in the y direction
public void set opacity float opacity this opacity opacity
set the opacity of the rays
public void set wave type int wave type this wave type wave type
set the wave type
public float get opacity return opacity
get the opacity of the rays
public int get wave type return wave type
get the wave type
public void set strength float strength this strength strength
set the strength of the rays
public float get strength return strength
get the strength of the rays
public void set rays only boolean rays only this rays only rays only
set whether to render only the rays
public boolean get rays only return rays only
get whether to render only the rays
public void set transition float transition this transition transition
set the transition of the image in the range 0
public void set iterations int iterations this iterations iterations
set the number of iterations the effect is performed
public int get iterations return iterations
get the number of iterations the effect is performed
public float get transition return transition
get the transition of the image
public void set destination buffered image destination this destination destination
set the destination image
public void set scale float scale this scale scale initialized false
specifies the scale factor
public buffered image get destination return destination
get the destination image
public void set refraction index float refraction index this refraction index refraction index
set the index of refaction
public float get refraction index return refraction index
get the index of refaction
public void set radius float r this a r this b r
set the radius of the effect
public void prepare filter float transition try method invoke filter new object new float transition catch exception e throw new illegal argument exception error setting value for property property
prepare the filter for the transiton at a given time
public float get radius return a
get the radius of the effect
public void set centre point2 d centre this centre x float centre get x this centre y float centre get y
set the centre of the effect as a proportion of the image size
public point2 d get centre return new point2 d float centre x centre y
get the centre of the effect as a proportion of the image size
public void set mask image buffered image mask image this mask image mask image
set the mask image
public buffered image get mask image return mask image
get the mask image
public void set opacity int opacity this opacity opacity opacity24 opacity 24
set the opacity
public int get opacity return opacity
get the opacity setting
public void set fill color int fill color this fill color fill color
set the fill color
public int get fill color return fill color
get the fill color
public void set threshold int threshold this threshold threshold
set the threshold value
public int get threshold return threshold
get the threshold value
public void set htolerance float h tolerance this h tolerance h tolerance
set the hue tolerance of the image in the range 0
public float get htolerance return h tolerance
get the hue tolerance
public void set stolerance float s tolerance this s tolerance s tolerance
set the saturation tolerance of the image in the range 0
public float get stolerance return s tolerance
get the saturation tolerance
public void set btolerance float b tolerance this b tolerance b tolerance
set the brightness tolerance of the image in the range 0
public float get btolerance return b tolerance
get the brightness tolerance
public void set clean image buffered image clean image this clean image clean image
get the clean image
public buffered image get clean image return clean image
get the clean image
public void set map int map this map map
set the array of colors for the colormap
public int get color float v v 255 int n int v float f v n if n 0 return map 0 else if n 255 return map 255 return image math mix colors f map n map n 1 int n int v 255 if n 0 n 0 else if n 255 n 255 return map n
convert a value in the range 0
public void set color interpolated int index int first index int last index int color int first color map first index int last color map last index for int i first index i index i map i image math mix colors float i first index index first index first color color for int i index i last index i map i image math mix colors float i index last index index color last color
set the color at index to color
public void set color range int first index int last index int color1 int color2 for int i first index i last index i map i image math mix colors float i first index last index first index color1 color2
set a range of the colormap interpolating between two colors
public void set color range int first index int last index int color for int i first index i last index i map i color
set a range of the colormap to a single color
public void set color int index int color map index color
set one element of the colormap to a given color
public void set angle float angle this angle angle
specifies the angle of the texture
public float get angle return angle
returns the angle of the texture
public void set source grid warp grid source grid this source grid source grid
set the source warp grid
public warp grid get source grid return source grid
get the source warp grid
public void set dest grid warp grid dest grid this dest grid dest grid
set the destination warp grid
public warp grid get dest grid return dest grid
get the destination warp grid
public void set morph image buffered image morph image this morph image morph image
for morphing sets the image were morphing to
public void set density float density this density density
set the density of the image in the range 0
public float get density return density
get the density of the image
public void set softness float softness this softness softness
set the softness of the dissolve in the range 0
public float get softness return softness
get the softness of the dissolve
public void set stretch float stretch this stretch stretch
specifies the stretch factor of the texture
public float get stretch return stretch
returns the stretch factor of the texture
public void set angle float angle this angle angle float cos float math cos this angle float sin float math sin this angle m00 cos m01 sin m10 sin m11 cos
specifies the angle of the texture
public void set x int x this x x
set the left edge of the crop rectangle
public int get x return x
get the left edge of the crop rectangle
public void set y int y this y y
set the top edge of the crop rectangle
public int get y return y
get the top edge of the crop rectangle
public void set xscale float x scale this x scale x scale
set the x scale of the effect
public float get xscale return x scale
get the x scale of the effect
public void set yscale float y scale this y scale y scale
set the y scale of the effect
public float get yscale return y scale
get the y scale of the effect
public void set turbulence float turbulence this turbulence turbulence
specifies the turbulence of the effect
public float get turbulence return turbulence
returns the turbulence of the effect