Skip to main content

OH_Drawing_PenGetColor

Function OH_Drawing_PenGetColor 

Source
pub unsafe extern "C" fn OH_Drawing_PenGetColor(
    pen: *const OH_Drawing_Pen,
) -> u32
Expand description

@brief Obtains the color of a pen. The color is used by the pen to outline a shape.

@syscap SystemCapability.Graphic.Graphic2D.NativeDrawing @param pen Indicates the pointer to an OH_Drawing_Pen object. @return Returns a 32-bit (ARGB) variable that describes the color. @since 8 @version 1.0