How can we fill linear gradient color in google slide by api?

后端 未结 1 1304
离开以前
离开以前 2021-01-27 19:59

Below example of normal fill color.

$requests[] = new \\Google_Service_Slides_Request(array(
                      \'updateShapeProperties\' => array(
                


        
1条回答
  •  伪装坚强ぢ
    2021-01-27 20:22

    As you can withdraw the Slides API documentation, the only currently present interfaces for ShapeBackgroundFill are propertyState and solidFill.

    Gradient fill is unfortunately not an option.

    Indeed, even from the user interface it is not possible to implement a custom gradient as shape background fill.

    If it is of any help: You can implement a ThemeColor.

    If this does not solve your issue, you can file a feature request at Google Public Issue Tracker and hope that the feature will be implemented in the future.

    0 讨论(0)
提交回复
热议问题