Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal origin As Point, _ ByVal radius As Integer, _ ByVal ringCount As Integer, _ ByVal randomize As Integer, _ ByVal color As RasterColor, _ ByVal angle As Integer, _ ByVal flags As RingEffectCommandFlags _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public RingEffectCommand( Point origin, int radius, int ringCount, int randomize, RasterColor color, int angle, RingEffectCommandFlags flags ) |
Managed Extensions for C++ | |
---|---|
public: RingEffectCommand( Point origin, int radius, int ringCount, int randomize, RasterColor color, int angle, RingEffectCommandFlags flags ) |
C++/CLI | |
---|---|
public: RingEffectCommand( Point origin, int radius, int ringCount, int randomize, RasterColor color, int angle, RingEffectCommandFlags flags ) |
Parameters
- origin
- Represents the coordinates (in pixels) for the origin of the rings. Only positive values are accepted.
- radius
- If the RingEffectCommandFlags.Radius flag is set, this is the width of each ring, in pixels. If the RingEffectCommandFlags.MaxRadius flag is set, this is the maximum radius, in pixels. In this latter case, the width of each ring is equal to ((radius) / (ringCount + 1)). Only positive values are accepted.
- ringCount
- Number of rings. Only positive values are accepted.
- randomize
- The starting point for the randomization process. Valid range is 0-500. If 0, the command will pick the starting point. If > 0, this value will be the starting point. Only positive values are accepted.
- color
- Color used to fill the undefined area. This parameter is used only if the RingEffectCommandFlags.Color flag is set.
- angle
- The rotation angle value for each ring compared to the inner ring, in hundredths of degrees. This parameter is used only if the RingEffectCommandFlags.FixedAngle flag. The range of the acceptable values is from -18000 to 18000. This value is divided internally by 100.
- flags
- Flags which control the behavior of this command. These flags can be OR-ed together, unless otherwise specified.
Visual Basic | Copy Code |
---|---|
ImageProcessing.SpecialEffects.RingEffectCommand.RingEffectConstructor |
C# | Copy Code |
---|---|
ImageProcessing.SpecialEffects.RingEffectCommand.RingEffectConstructor |
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