Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

ToPaint(AnnBrush,Int32,Double,LeadRectD) Method







Brush object to convert
Alpha value to use (0 to 255).
Opacity value to use. Values can be from 0 to 1.0.
The bounding rectangle of the brush in pixels.
Helper method to convert AnnBrush to an android.graphics.Paint object with alpha, opacity and bounding rectangle values.
Syntax
public static Paint ToPaint( 
   AnnBrush brush,
   int alpha,
   double opacity,
   LeadRectD brushBounds
)
'Declaration
 
Public Overloads Shared Function ToPaint( _
   ByVal brush As AnnBrush, _
   ByVal alpha As Integer, _
   ByVal opacity As Double, _
   ByVal brushBounds As LeadRectD _
) As Paint
'Usage
 
Dim brush As AnnBrush
Dim alpha As Integer
Dim opacity As Double
Dim brushBounds As LeadRectD
Dim value As Paint
 
value = AnnAndroidRenderingEngine.ToPaint(brush, alpha, opacity, brushBounds)
public static Paint ToPaint( 
   AnnBrush brush,
   int alpha,
   double opacity,
   LeadRectD brushBounds
)
public static Paint toPaint(AnnBrush brush, int alpha, double opacity, LeadRectD brushBounds)
 function Leadtools.Annotations.Rendering.AnnAndroidRenderingEngine_java.ToPaint(AnnBrush,Int32,Double,LeadRectD)( 
   brush ,
   alpha ,
   opacity ,
   brushBounds 
)

Parameters

brush
Brush object to convert
alpha
Alpha value to use (0 to 255).
opacity
Opacity value to use. Values can be from 0 to 1.0.
brushBounds
The bounding rectangle of the brush in pixels.

Return Value

An android.graphics.Paint object.
Requirements

Target Platforms

See Also

Reference

AnnAndroidRenderingEngine Class
AnnAndroidRenderingEngine Members
Overload List

Error processing SSI file
Leadtools.Annotations.Rendering requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features