Hsl

SCPI Command :

HCOPy:CMAP<it>:HSL
Commands in total: 1
Subgroups: 0
Direct child commands: 1
class HslStruct[source]

Response structure. Fields:

  • 1 Hue: float: hue tint Range: 0 to 1

  • 2 Sat: float: sat saturation Range: 0 to 1

  • 3 Lum: float: lum brightness Range: 0 to 1

get(item=Item.Default) HslStruct[source]
# HCOPy:CMAP<it>:HSL
value: HslStruct = driver.hardCopy.cmap.hsl.get(item = repcap.Item.Default)

This command selects the color for various screen elements in print jobs.

Parameters:

item – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Cmap’)

Returns:

structure: for return value, see the help for HslStruct structure arguments.

set(hue: float, sat: float, lum: float, item=Item.Default) None[source]
# HCOPy:CMAP<it>:HSL
driver.hardCopy.cmap.hsl.set(hue = 1.0, sat = 1.0, lum = 1.0, item = repcap.Item.Default)

This command selects the color for various screen elements in print jobs.

Parameters:
  • hue – hue tint Range: 0 to 1

  • sat – sat saturation Range: 0 to 1

  • lum – lum brightness Range: 0 to 1

  • item – optional repeated capability selector. Default value: Ix1 (settable in the interface ‘Cmap’)