Skip to main content

Speos Labs Automation 2024 R2

SurfaceEllipseColor

Last update: 17.07.2025

Description

Returns an array of 3 VARIANT representing the three components of the average color for the given ellipse area and a given color system.

Syntax

object.SurfaceEllipseColor(double dXPos, double dYPos, double dWidth, double dHeight, short iColorSystem) As Variant

  • object: Virtual Photometric Lab object

  • dXPos: horizontal coordinate of the center of the ellipse

  • dYPos: vertical coordinate of the center of the ellipse

  • dWidth: horizontal size of the ellipse

  • dHeight: vertical size of the ellipse

  • iColorSystem: colorimetric system

    0: COLOR_SYSTEM_XYZ

    1: COLOR_SYSTEM_xyY

    2: COLOR_SYSTEM_uvY_CIE1960

    3: COLOR_SYSTEM_uvY_CIE1976

    4: COLOR_SYSTEM_Luv

    5: COLOR_SYSTEM_Lab

    6: COLOR_SYSTEM_LCh

Connect with Ansys