harmony 鸿蒙ImageEffect_DataValue

  • 2025-06-12
  • 浏览 (8)

ImageEffect_DataValue

Overview

The ImageEffect_DataValue union describes the data values.

System capability: SystemCapability.Multimedia.ImageEffect.Core

Since: 12

Related module: ImageEffect

Header file: image_effect_filter.h

Summary

Member Variables

Name Description
int32_t int32Value Integer value, corresponding to EFFECT_DATA_TYPE_INT32.
float floatValue Single-precision floating-point value, corresponding to EFFECT_DATA_TYPE_FLOAT.
double doubleValue Double-precision floating-point value, corresponding to EFFECT_DATA_TYPE_DOUBLE.
char charValue Byte value, corresponding to EFFECT_DATA_TYPE_CHAR.
long longValue Long integer value, corresponding to EFFECT_DATA_TYPE_LONG.
bool boolValue Boolean value, corresponding to EFFECT_DATA_TYPE_BOOL.
void * ptrValue Pointer value, corresponding to EFFECT_DATA_TYPE_PTR.

Member Variable Description

boolValue

bool ImageEffect_DataValue::boolValue

Description

Boolean value, corresponding to EFFECT_DATA_TYPE_BOOL.

charValue

char ImageEffect_DataValue::charValue

Description

Byte value, corresponding to EFFECT_DATA_TYPE_CHAR.

doubleValue

double ImageEffect_DataValue::doubleValue

Description

Double-precision floating-point value, corresponding to EFFECT_DATA_TYPE_DOUBLE.

floatValue

float ImageEffect_DataValue::floatValue

Description

Single-precision floating-point value, corresponding to EFFECT_DATA_TYPE_FLOAT.

int32Value

int32_t ImageEffect_DataValue::int32Value

Description

Integer value, corresponding to EFFECT_DATA_TYPE_INT32.

longValue

long ImageEffect_DataValue::longValue

Description

Long integer value, corresponding to EFFECT_DATA_TYPE_LONG.

ptrValue

void* ImageEffect_DataValue::ptrValue

Description

Pointer value, corresponding to EFFECT_DATA_TYPE_PTR.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Image Kit

harmony 鸿蒙_image___native_module

harmony 鸿蒙Image_Region

harmony 鸿蒙Image_Size

harmony 鸿蒙Image_String

harmony 鸿蒙ImageEffect

harmony 鸿蒙ImageEffect_Any

harmony 鸿蒙ImageEffect_FilterDelegate

harmony 鸿蒙ImageEffect_FilterNames

harmony 鸿蒙ImageEffect_Region

0  赞