←Select platform

ToD2DPen(AnnStroke,Double) Method

Summary
Helper method to convert AnnStroke to Leadtools.Windows.D2DRendering.D2DPen using an opacity.
Syntax
C#
VB
public static D2DPen ToD2DPen(  
   AnnStroke stroke, 
   double opacity 
) 
Public Overloads Shared Function ToD2DPen( _ 
   ByVal stroke As AnnStroke, _ 
   ByVal opacity As Double _ 
) As D2DPen 

Parameters

stroke
Stroke object to convert

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

Return Value

Leadtools.Windows.D2DRendering.D2DPen object created.

Requirements

Target Platforms

Help Version 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly