menu
flame_forge2d package
documentation
body_component.dart
BodyComponent<T extends Forge2DGame<Forge2DWorld>>
getAlpha method
getAlpha method
dark_mode
light_mode
getAlpha
method
int
getAlpha
(
{
Object
?
paintId
,
})
inherited
Returns the current opacity.
Implementation
int getAlpha({T? paintId}) { return getPaint(paintId).color.alpha; }
flame_forge2d package
documentation
body_component
BodyComponent<T extends Forge2DGame<Forge2DWorld>>
getAlpha method
BodyComponent class