makeup|SDK makeup|SDK is a library based on visage|SDK face tracking used to configure and render virtual makeup.

Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
com.visagetechnologies.makeupsdk.Color Class Reference

## Public Member Functions
JSONObject | ToJSON ()

## Static Public Member Functions
static Color | FromJSON (JSONObject jsonObject)

## Detailed Description

Class used as a container storing RGBA for color values. Color is stored as floating point value in 0.0 to 1.0 range.

## Member Function Documentation

## ◆ FromJSON()

static Color com.visagetechnologies.makeupsdk.Color.FromJSON | ( | JSONObject | jsonObject | ) |
| inline static

Deserializes Color object from JSON representation

Parameters

  jsonObject | JSON object

Returns
  deserialized Color object

## ◆ ToJSON()

JSONObject com.visagetechnologies.makeupsdk.Color.ToJSON | ( |  | ) |
| inline

Returns JSON object out of this Color object

Returns
  JSON representation of this Color returned as JSONObject