Skip to main content

ApiFill

Class representing a base class for fill.

Methods​

The following table lists the available methods.

MethodReturnsDescription
GetClassType"fill"Returns a type of the ApiFill class.
GetColorApiColor | null | undefinedReturns the color of a solid fill.
GetTransparentnumberReturns the transparency of the fill.
GetTypeFillTypeGets the fill type.
SetTransparentbooleanSets the transparency of the fill.
ToJSONJSONConverts the ApiFill object into the JSON object.