Helper method to convert
AnnBrush to an android.graphics.Paint object with opacity and bounding rectangle values.



public static Paint ToPaint(
AnnBrush ,
double ,
LeadRectD
)
'Declaration
Public Overloads Shared Function ToPaint( _
ByVal As AnnBrush, _
ByVal As Double, _
ByVal As LeadRectD _
) As Paint
'Usage
Dim brush As AnnBrush
Dim opacity As Double
Dim brushBounds As LeadRectD
Dim value As Paint
value = AnnAndroidRenderingEngine.ToPaint(brush, opacity, brushBounds)
public static Paint toPaint(AnnBrush brush, double opacity, LeadRectD brushBounds)
function Leadtools.Annotations.Rendering.AnnAndroidRenderingEngine_java.ToPaint(AnnBrush,Double,LeadRectD)(
brush ,
opacity ,
brushBounds
)
Parameters
- brush
- Brush object to convert
- 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.