PixelfreePlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • PixelfreePlatform
Implementers

Constructors

PixelfreePlatform()
Constructs a PixelfreePlatform.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearMakeup() → Future<int>
createBeautyItemFormBundle(ByteData data, PFSrcType type) → Future<void>
createWithLic(String licPath) → Future<void>
getFaceRect() → Future<List<double>>
getFaceSize() → Future<int>
getPlatformVersion() → Future<String?>
getVersion() → Future<String?>
hasFace() → Future<bool>
isCreate() → Future<bool>
jsonStringToMap(String jsonString) → Map<String, dynamic>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pixelFreeAddHLSFilter(PFHLSFilterParams params) → Future<int>
pixelFreeChangeHLSFilter(int handle, PFHLSFilterParams params) → Future<int>
pixelFreeDeleteHLSFilter(int handle) → Future<void>
pixelFreeSetBeautyExtend(PFBeautyFiterType type, String value) → Future<void>
pixelFreeSetBeautyFilterParam(PFBeautyFiterType type, double value) → Future<void>
pixelFreeSetBeautyTypeParam(PFBeautyFiterType type, int value) → Future<void>
pixelFreeSetColorGrading(PFImageColorGrading params) → Future<int>
pixelFreeSetFilterParam(String filterName, double value) → Future<void>
processWithBuffer(PFIamgeInput imageInput) → Future<void>
processWithImage(Uint8List imageData, int w, int h) → Future<int>
processWithImageToByteData(Uint8List imageData, int width, int height) → Future<ByteData?>
processWithTextrueID(int textrueID, int w, int h) → Future<int?>
release() → Future<void>
setConsoleLogEnabled(bool enabled) → Future<void>
Enable or disable console log output (does not affect file logging).
setDetectMode(PFFaceDetectMode mode) → Future<void>
setMakeupPartDegree(PFMakeupPart part, double degree) → Future<int>
setMakeupPath(String makeupJsonPath) → Future<int>
setVLogLevel(int level, String? path) → Future<void>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

instance ↔ PixelfreePlatform
The default instance of PixelfreePlatform to use.
getter/setter pair