←Select platform

LegacyEllipse Property

Summary

Ellipse region compatible with older version of LEADTOOLS (v18 and some old v19 DLLs).

Syntax
C#
C++/CLI
Java
Python
public static bool LegacyEllipse { get; set; } 
public static boolean getLegacyEllipse(); 
public:  
   static property bool LegacyEllipse 
   { 
      bool get() 
      void set(bool value) 
   } 
LegacyEllipse # get and set (RasterRegion) 

Property Value

Default is set to false.

Remarks

Valid only for AddEllipseToRegion. Not recommended unless you need to preserve backwards compatibility.

Example
C#
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.ImageProcessing; 
 
 
public void RasterRegionLegacyEllipseExample() 
{ 
   var img = RasterImage.Create(100, 100, 1, 96, RasterColor.Black); 
   RasterRegion.LegacyEllipse = true; 
   img.AddEllipseToRegion(null, LeadRect.Create(10, 10, 10, 10), RasterRegionCombineMode.Set); 
} 
Requirements

Target Platforms

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

Leadtools Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.