reflectionnode-ag凯发旗舰厅



com.spire.presentation.drawing
class reflectionnode

java.lang.object
  extended by com.spire.presentation.drawing.effectnode
      extended by com.spire.presentation.drawing.reflectionnode

public class reflectionnode
extends effectnode

represents a reflection effect.


constructor summary
(rectanglealignment algn, double blurrad, float dir, double dist, float stpos, float endpos, float fadedir, float sta, float enda, float kx, float ky, boolean rotwithshape, float sx, float sy)
           
 
method summary
 double getblurradius()
          blur radius.
 float getdirection()
          direction of reflection.
 double getdistance()
          distance of reflection.
 float getendposalpha()
          specifies the end position (along the alpha gradient ramp) of the end alpha value (percents).
 float getendreflectionopacity()
          end reflection opacity.
 float getfadedirection()
          specifies the direction to offset the reflection.
 rectanglealignment getrectanglealign()
          rectangle alignment.
 boolean getrotateshadowwithshape()
          specifies whether the reflection should rotate with the shape if the shape is rotated.
 float getscaleh()
          specifies the horizontal scaling factor, negative scaling causes a flip.
 float getscalev()
          specifies the vertical scaling factor, negative scaling causes a flip.
 float getskewh()
          specifies the horizontal skew angle.
 float getskewv()
          specifies the vertical skew angle.
 float getstartposalpha()
          specifies the start position (along the alpha gradient ramp) of the start alpha value (percents).
 float getstartreflectionopacity()
          starting reflection opacity.
 
constructor detail

reflectionnode

public reflectionnode(rectanglealignment algn,
                      double blurrad,
                      float dir,
                      double dist,
                      float stpos,
                      float endpos,
                      float fadedir,
                      float sta,
                      float enda,
                      float kx,
                      float ky,
                      boolean rotwithshape,
                      float sx,
                      float sy)
method detail

getstartposalpha

public float getstartposalpha()
specifies the start position (along the alpha gradient ramp) of the start alpha value (percents).
returns:

getendposalpha

public float getendposalpha()
specifies the end position (along the alpha gradient ramp) of the end alpha value (percents).
returns:

getfadedirection

public float getfadedirection()
specifies the direction to offset the reflection. (angle).
returns:

getstartreflectionopacity

public float getstartreflectionopacity()
starting reflection opacity. (percents).
returns:

getendreflectionopacity

public float getendreflectionopacity()
end reflection opacity. (percents).
returns:

getblurradius

public double getblurradius()
blur radius.
returns:

getdirection

public float getdirection()
direction of reflection.
returns:

getdistance

public double getdistance()
distance of reflection.
returns:

getrectanglealign

public rectanglealignment getrectanglealign()
rectangle alignment.
returns:

getskewh

public float getskewh()
specifies the horizontal skew angle.
returns:

getskewv

public float getskewv()
specifies the vertical skew angle.
returns:

getrotateshadowwithshape

public boolean getrotateshadowwithshape()
specifies whether the reflection should rotate with the shape if the shape is rotated.
returns:

getscaleh

public float getscaleh()
specifies the horizontal scaling factor, negative scaling causes a flip. (percents)
returns:

getscalev

public float getscalev()
specifies the vertical scaling factor, negative scaling causes a flip. (percents)
returns:


网站地图