←Select platform

ToPaint(AnnStroke,Double) Method

Summary

Converts an AnnStroke object to an android.graphics.Paint object using an opacity.

Syntax

C#
VB
public static Paint ToPaint(  
   Leadtools.Annotations.Core.AnnStroke stroke, 
   double opacity 
) 
Public Overloads Shared Function ToPaint( _ 
   ByVal stroke As Leadtools.Annotations.Core.AnnStroke, _ 
   ByVal opacity As Double _ 
) As Paint 

Parameters

stroke
Stroke object to convert

opacity
Opacity value to use. Values can be from 0 to 1.0.

Return Value

The new android.graphics.Paint object.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly