LEADTOOLS Image Processing (Leadtools.ImageProcessing.SpecialEffects assembly)

Create Method

Show in webframe







Center of the ellipse used to represent the light.
Value that represents the width of the ellipse used to represent the light. This parameter only accepts positive values.
Value that represents the height of the ellipse used to represent the light. This parameter only accepts positive values.
Angle by which to rotate the ellipse that represents the light. This value is given in hundredths of a degree (+/-). This can be a number from 0 to 36,000. A positive value will rotate the ellipse clockwise, while a negative value will rotate the ellipse counter-clockwise.
Intensity or brightness of the light. This parameter only accepts positive values.
Percentage by which to smooth the light border. The valid range is from 0 to 100.
Specifies the color of the light.
Opacity of the light. This parameter only accepts positive values.
Flag that determines the light source type.
Initializes a new LightCommandData with explicit parameters.
Syntax
public static LightCommandData Create( 
   LeadPoint centerPoint,
   int width,
   int height,
   int angle,
   int brightness,
   int edge,
   RasterColor fillColor,
   int opacity,
   LightCommandType type
)
'Declaration
 
Public Shared Function Create( _
   ByVal centerPoint As LeadPoint, _
   ByVal width As Integer, _
   ByVal height As Integer, _
   ByVal angle As Integer, _
   ByVal brightness As Integer, _
   ByVal edge As Integer, _
   ByVal fillColor As RasterColor, _
   ByVal opacity As Integer, _
   ByVal type As LightCommandType _
) As LightCommandData
'Usage
 
Dim centerPoint As LeadPoint
Dim width As Integer
Dim height As Integer
Dim angle As Integer
Dim brightness As Integer
Dim edge As Integer
Dim fillColor As RasterColor
Dim opacity As Integer
Dim type As LightCommandType
Dim value As LightCommandData
 
value = LightCommandDataHelper.Create(centerPoint, width, height, angle, brightness, edge, fillColor, opacity, type)
public static LightCommandData Create( 
   LeadPoint centerPoint,
   int width,
   int height,
   int angle,
   int brightness,
   int edge,
   RasterColor fillColor,
   int opacity,
   LightCommandType type
)

            

            
 function Leadtools.ImageProcessing.SpecialEffects.LightCommandDataHelper.Create( 
   centerPoint ,
   width ,
   height ,
   angle ,
   brightness ,
   edge ,
   fillColor ,
   opacity ,
   type 
)
public:
static LightCommandData Create( 
   LeadPoint centerPoint,
   int width,
   int height,
   int angle,
   int brightness,
   int edge,
   RasterColor fillColor,
   int opacity,
   LightCommandType type
) 

Parameters

centerPoint
Center of the ellipse used to represent the light.
width
Value that represents the width of the ellipse used to represent the light. This parameter only accepts positive values.
height
Value that represents the height of the ellipse used to represent the light. This parameter only accepts positive values.
angle
Angle by which to rotate the ellipse that represents the light. This value is given in hundredths of a degree (+/-). This can be a number from 0 to 36,000. A positive value will rotate the ellipse clockwise, while a negative value will rotate the ellipse counter-clockwise.
brightness
Intensity or brightness of the light. This parameter only accepts positive values.
edge
Percentage by which to smooth the light border. The valid range is from 0 to 100.
fillColor
Specifies the color of the light.
opacity
Opacity of the light. This parameter only accepts positive values.
type
Flag that determines the light source type.

Return Value

a new LightCommandData with explicit parameters.
Example
Refer to LightCommand(LightCommandData[] ,int,int,RasterColor)
Requirements

Target Platforms

See Also

Reference

LightCommandDataHelper Class
LightCommandDataHelper Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.