typograph-editor-documentation
Preparing search index...
panel
Panel
Class Panel
Index
Constructors
constructor
Properties
colorpickerfor
container
content
currentcontent
currenttab
dialoglayer
forid
forsamplepatch
forswatch
gradiantbar
gradient
height
hidegradiant
ingradiantbar
input_
hex
inputfield_
opacity
inputs_
cmyk
inputs_
rgb
name
nr_
of_
brand_
colors
nr_
of_
document_
colors
sliderobject_
opacity
sliders_
cmyk
sliders_
rgb
swatches
width
Methods
ask
Brandcolor
ask
New
Documentcolor
cancel_
colorpicker
doubleclickswatch
edit
Brandcolor
get
Gradient
Rotation
get
Gradient
Type
hide
mousedown_
content
mousedown_
dialoglayer
okok_
colorpicker
selectswatch
set_
size
set
CMYK
set
CMYK_
from_
input
set
CMYK
Content
set
Content
set
Fill
Types
set
HEX
set
Linear
set
Linear
Content
set
Opacity
Inputfield
set
Opacity
Slider
set
Radial
set
Radial
Content
set
RGB
set
RGB_
from_
input
set
RGB
Content
set
Solid
set
Swatches
Content
set
Top
Content
show
switch
Tab
tryok
update_
Gradient
update
Brand
Colors
update
Docment
Colors
update
Rich
Text
Constructors
constructor
new
Panel
(
name
:
string
,
width
:
number
,
height
:
number
,
forid
:
string
,
forswatch
?:
Colorswatch
,
hidegradiant
?:
boolean
,
ingradiantbar
?:
GradiantBar
,
forsamplepatch
?:
SamplePatch
,
)
:
Panel
Parameters
name
:
string
width
:
number
height
:
number
forid
:
string
forswatch
:
Colorswatch
= null
hidegradiant
:
boolean
= false
ingradiantbar
:
GradiantBar
= null
forsamplepatch
:
SamplePatch
= null
Returns
Panel
Properties
colorpickerfor
colorpickerfor
:
string
container
container
:
HTMLElement
content
content
:
HTMLElement
currentcontent
currentcontent
:
string
currenttab
currenttab
:
string
dialoglayer
dialoglayer
:
HTMLElement
forid
forid
:
string
forsamplepatch
forsamplepatch
:
SamplePatch
= null
forswatch
forswatch
:
Colorswatch
= null
gradiantbar
gradiantbar
:
GradiantBar
gradient
gradient
:
Gradient
height
height
:
number
hidegradiant
hidegradiant
:
boolean
= false
ingradiantbar
ingradiantbar
:
GradiantBar
= null
input_
hex
input_hex
:
Inputfield
inputfield_
opacity
inputfield_opacity
:
Inputfield
inputs_
cmyk
inputs_cmyk
:
Inputfield
[]
= []
inputs_
rgb
inputs_rgb
:
Inputfield
[]
= []
name
name
:
string
nr_
of_
brand_
colors
nr_of_brand_colors
:
number
nr_
of_
document_
colors
nr_of_document_colors
:
number
sliderobject_
opacity
sliderobject_opacity
:
Slidercontrol
sliders_
cmyk
sliders_cmyk
:
Slidercontrol_color
[]
= []
sliders_
rgb
sliders_rgb
:
Slidercontrol_color
[]
= []
swatches
swatches
:
HTMLElement
width
width
:
number
Methods
ask
Brandcolor
askBrandcolor
()
:
void
Returns
void
ask
New
Documentcolor
askNewDocumentcolor
()
:
void
Returns
void
cancel_
colorpicker
cancel_colorpicker
()
:
void
Returns
void
doubleclickswatch
doubleclickswatch
(
e
:
{
target
:
HTMLElement
}
)
:
void
Parameters
e
:
{
target
:
HTMLElement
}
Returns
void
edit
Brandcolor
editBrandcolor
()
:
void
Returns
void
get
Gradient
Rotation
getGradientRotation
()
:
number
Returns
number
get
Gradient
Type
getGradientType
()
:
gradient_type
Returns
gradient_type
hide
hide
()
:
void
Returns
void
mousedown_
content
mousedown_content
(
e
:
MouseEvent
)
:
void
Parameters
e
:
MouseEvent
Returns
void
mousedown_
dialoglayer
mousedown_dialoglayer
(
e
:
MouseEvent
)
:
void
Parameters
e
:
MouseEvent
Returns
void
okok_
colorpicker
okok_colorpicker
(
colorpicker
:
ColorPicker
)
:
void
Parameters
colorpicker
:
ColorPicker
Returns
void
selectswatch
selectswatch
(
e
:
{
target
:
HTMLElement
}
)
:
void
Parameters
e
:
{
target
:
HTMLElement
}
Returns
void
set_
size
set_size
()
:
void
Returns
void
set
CMYK
setCMYK
(
r
:
slider_event
)
:
void
Parameters
r
:
slider_event
Returns
void
set
CMYK_
from_
input
setCMYK_from_input
(
i
:
input_event
)
:
void
Parameters
i
:
input_event
Returns
void
set
CMYK
Content
setCMYKContent
()
:
void
Returns
void
set
Content
setContent
()
:
void
Returns
void
set
Fill
Types
setFillTypes
(
current
:
string
)
:
void
Parameters
current
:
string
Returns
void
set
HEX
setHEX
(
s
:
string
)
:
void
Parameters
s
:
string
Returns
void
set
Linear
setLinear
(
id
:
string
,
gr
?:
Gradient
)
:
void
Parameters
id
:
string
gr
:
Gradient
= null
Returns
void
set
Linear
Content
setLinearContent
(
gr
:
Gradient
)
:
void
Parameters
gr
:
Gradient
Returns
void
set
Opacity
Inputfield
setOpacityInputfield
(
value
:
number
)
:
void
Parameters
value
:
number
Returns
void
set
Opacity
Slider
setOpacitySlider
(
svalue
:
string
)
:
void
Parameters
svalue
:
string
Returns
void
set
Radial
setRadial
(
id
:
string
,
gr
?:
Gradient
)
:
void
Parameters
id
:
string
gr
:
Gradient
= null
Returns
void
set
Radial
Content
setRadialContent
(
gr
:
Gradient
)
:
void
Parameters
gr
:
Gradient
Returns
void
set
RGB
setRGB
(
r
:
slider_event
)
:
void
Parameters
r
:
slider_event
Returns
void
set
RGB_
from_
input
setRGB_from_input
(
i
:
input_event
)
:
void
Parameters
i
:
input_event
Returns
void
set
RGB
Content
setRGBContent
()
:
void
Returns
void
set
Solid
setSolid
(
id
:
string
)
:
void
Parameters
id
:
string
Returns
void
set
Swatches
Content
setSwatchesContent
()
:
void
Returns
void
set
Top
Content
setTopContent
()
:
void
Returns
void
show
show
()
:
void
Returns
void
switch
Tab
switchTab
(
e
:
{
target
:
HTMLElement
}
)
:
void
Parameters
e
:
{
target
:
HTMLElement
}
Returns
void
tryok
tryok
(
colorpicker
:
any
)
:
void
Parameters
colorpicker
:
any
Returns
void
update_
Gradient
update_Gradient
(
gradiantbar
:
GradiantBar
)
:
void
Parameters
gradiantbar
:
GradiantBar
Returns
void
update
Brand
Colors
updateBrandColors
()
:
void
Returns
void
update
Docment
Colors
updateDocmentColors
()
:
void
Returns
void
update
Rich
Text
updateRichText
(
e
:
PageElementRichText
,
color
:
string
)
:
void
Parameters
e
:
PageElementRichText
color
:
string
Returns
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
colorpickerfor
container
content
currentcontent
currenttab
dialoglayer
forid
forsamplepatch
forswatch
gradiantbar
gradient
height
hidegradiant
ingradiantbar
input_
hex
inputfield_
opacity
inputs_
cmyk
inputs_
rgb
name
nr_
of_
brand_
colors
nr_
of_
document_
colors
sliderobject_
opacity
sliders_
cmyk
sliders_
rgb
swatches
width
Methods
ask
Brandcolor
ask
New
Documentcolor
cancel_
colorpicker
doubleclickswatch
edit
Brandcolor
get
Gradient
Rotation
get
Gradient
Type
hide
mousedown_
content
mousedown_
dialoglayer
okok_
colorpicker
selectswatch
set_
size
set
CMYK
set
CMYK_
from_
input
set
CMYK
Content
set
Content
set
Fill
Types
set
HEX
set
Linear
set
Linear
Content
set
Opacity
Inputfield
set
Opacity
Slider
set
Radial
set
Radial
Content
set
RGB
set
RGB_
from_
input
set
RGB
Content
set
Solid
set
Swatches
Content
set
Top
Content
show
switch
Tab
tryok
update_
Gradient
update
Brand
Colors
update
Docment
Colors
update
Rich
Text
typograph-editor-documentation
Loading...