< Back

Get-OxyPalette

Sat Jan 18, 2020 6:16 pm

NAME Get-OxyPalette



SYNOPSIS

Gets a color palette object.





SYNTAX

Get-OxyPalette [-Colors] <Horker.OxyPlotCli.TypeAdaptors.OxyColor[]> [[-PaletteSize] <System.Int32>]

[<CommonParameters>]



Get-OxyPalette [-Preset] {BlueWhiteRed31 | Hot64 | Hue64 | BlackWhiteRed | BlueWhiteRed | Cool | Gray | Hot | Hue

| HueDistinct | Jet | Rainbow | RHue} [[-PaletteSize] <System.Int32>] [<CommonParameters>]





DESCRIPTION

Gets a color palette object.



When the `-Preset` parameter is specified, this cmdlet returns a preset palette by its value. Otherwise, this

cmdlet generates a new palette based on the sequence of colors given by the `-Colors` parameter.





PARAMETERS

-Colors <Horker.OxyPlotCli.TypeAdaptors.OxyColor[]>

The sequence of colors to construct a hue of the color palette.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-PaletteSize <System.Int32>

Specifies the number of colors contained in the palette. This parameter determines the smoothness of the color

palette.



Required? false

Position? 1

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-Preset <System.String>

Specifies the name of the preset palettes.



Required? true

Position? 0

Default value None

Accept pipeline input? False

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None







OUTPUTS

System.Object







NOTES











RELATED LINKS

Online Version: https://github.com/horker/oxyplotcli2/b ... Palette.md





CommonParameters : True

WorkflowCommonParameters : False

details : @{name=Get-OxyPlotViewDispatcher; noun=OxyPlotViewDispatcher; verb=Get}

Syntax : @{syntaxItem=System.Object[]}

parameters : @{parameter=System.Object[]}

inputTypes : @{inputType=}

returnValues : @{returnValue=}

aliases : None



remarks : None

PSSnapIn :

alertSet :

description :

examples :

Synopsis :

Get-OxyPlotViewDispatcher [<CommonParameters>]



ModuleName : oxyplotcli

nonTerminatingErrors :

xmlns:command : http://schemas.microsoft.com/maml/dev/command/2004/10

xmlns:dev : http://schemas.microsoft.com/maml/dev/2004/10

xmlns:maml : http://schemas.microsoft.com/maml/2004/10

Name : Get-OxyPlotViewDispatcher

Category : Cmdlet

Component :

Role :

Functionality :