Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal amplitude As Integer, _ ByVal frequency As Integer, _ ByVal phase As Integer, _ ByVal attenuation As Integer, _ ByVal centerPoint As Point, _ ByVal fillColor As RasterColor, _ ByVal type As RippleCommandType _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RippleCommand( int amplitude, int frequency, int phase, int attenuation, Point centerPoint, RasterColor fillColor, RippleCommandType type ) |
C++/CLI | |
---|---|
public: RippleCommand( int amplitude, int frequency, int phase, int attenuation, Point centerPoint, RasterColor fillColor, RippleCommandType type ) |
Parameters
- amplitude
- Wave magnitude(amount of displacement). Only positive values are accepted.
- frequency
- Number of repeated waves along the radial line. Only positive values are accepted.
- phase
- Wave phase shift, in hundredths of degrees. The valid range is from -36000 to 36000 (The value in degrees is phase divided by 100).
- attenuation
- Attenuation value. The attenuation value indicates how rapidly the wave amplitude decays as the wave travels along the radial line. The values range from 0 - 1000.
- centerPoint
- The center of the Ripple wave.
- fillColor
- Specifies the fill color for any exposed areas.
- type
- Value that indicates how to handle exposed areas.
Run the RippleCommand on an image.
Visual Basic | Copy Code |
---|---|
Public Sub RippleConstructorExample() |
C# | Copy Code |
---|---|
public void RippleConstructorExample() |
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family