A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://developers.google.com/apps-script/reference/slides/line-fill below:

Class LineFill | Apps Script

Class LineFill

Stay organized with collections Save and categorize content based on your preferences.

LineFill

Describes the fill of a line or outline

Detailed documentation getFillType()

Gets the type of the line fill.

Return

LineFillType

Scripts that use this method require authorization with one or more of the following scopes:

getSolidFill()

Gets the solid fill of the line, or null if the fill type is not LineFillType.SOLID.

Return

SolidFill

Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setSolidFill(color)

Sets the solid fill to the given Color.

Parameters Name Type Description color Color Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setSolidFill(color, alpha)

Sets the solid fill to the given alpha and Color.

Parameters Name Type Description color Color alpha Number Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setSolidFill(red, green, blue)

Sets the solid fill to the given RGB values.

Parameters Name Type Description red Integer green Integer blue Integer Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setSolidFill(red, green, blue, alpha)

Sets the solid fill to the given alpha and RGB values.

Parameters Name Type Description red Integer green Integer blue Integer alpha Number Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setSolidFill(hexString)

Sets the solid fill to the given hex color string.

The hex string must be in the format '#RRGGBB'. For example, pink would be represented as '#FFC0CB'.

Parameters Name Type Description hexString String Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setSolidFill(hexString, alpha)

Sets the solid fill to the given alpha and hex color string.

The hex string must be in the format '#RRGGBB'. For example, pink would be represented as '#FFC0CB'.

Parameters Name Type Description hexString String alpha Number Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setSolidFill(color)

Sets the solid fill to the given ThemeColorType.

Parameters Authorization

Scripts that use this method require authorization with one or more of the following scopes:

setSolidFill(color, alpha)

Sets the solid fill to the given alpha and ThemeColorType.

Parameters Authorization

Scripts that use this method require authorization with one or more of the following scopes:

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-12-03 UTC.

[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-12-03 UTC."],[[["`LineFill` describes the fill of a line or outline in Google Slides."],["You can get and set the fill type of a line, including solid fills."],["Solid fills can be set using various color formats, like RGB, hex codes, or theme colors, and can include an alpha value for transparency."],["All methods related to `LineFill` require specific authorization scopes to be used in Apps Script."]]],["LineFill manages line or outline fills. Key actions include: `getFillType()` to identify the fill type; `getSolidFill()` to retrieve the solid fill if applicable. You can set the solid fill using `setSolidFill()`, which supports various color inputs: a `Color` object, RGB values, a hex string, or `ThemeColorType`. Each `setSolidFill()` method has a variant to also define the alpha (transparency) value. All the actions need authorization with certain scopes.\n"]]


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4