@doegis/core
Version:
DOE GIS API
3 lines (1 loc) • 1.86 kB
JavaScript
var t;!function(t){t[t.Normal=0]="Normal",t[t.Average=1]="Average",t[t.Lighten=2]="Lighten",t[t.Lighter=3]="Lighter",t[t.Plus=4]="Plus",t[t.Screen=5]="Screen",t[t.ColorDodge=6]="ColorDodge",t[t.Darken=7]="Darken",t[t.Multiply=8]="Multiply",t[t.ColorBurn=9]="ColorBurn",t[t.Overlay=10]="Overlay",t[t.SoftLight=11]="SoftLight",t[t.HardLight=12]="HardLight",t[t.VividLight=13]="VividLight",t[t.Hue=14]="Hue",t[t.Saturation=15]="Saturation",t[t.Luminosity=16]="Luminosity",t[t.Color=17]="Color",t[t.DestinationOver=18]="DestinationOver",t[t.DestinationAtop=19]="DestinationAtop",t[t.DestinationIn=20]="DestinationIn",t[t.DestinationOut=21]="DestinationOut",t[t.SourceAtop=22]="SourceAtop",t[t.SourceIn=23]="SourceIn",t[t.SourceOut=24]="SourceOut",t[t.Xor=25]="Xor",t[t.Difference=26]="Difference",t[t.Exclusion=27]="Exclusion",t[t.Minus=28]="Minus",t[t.Invert=29]="Invert",t[t.Reflect=30]="Reflect",t[t.COUNT=31]="COUNT"}(t||(t={}));const e={normal:t.Normal,average:t.Average,lighten:t.Lighten,lighter:t.Lighter,screen:t.Screen,plus:t.Plus,"color-dodge":t.ColorDodge,darken:t.Darken,multiply:t.Multiply,"color-burn":t.ColorBurn,overlay:t.Overlay,"soft-light":t.SoftLight,"hard-light":t.HardLight,"vivid-light":t.VividLight,hue:t.Hue,saturation:t.Saturation,luminosity:t.Luminosity,color:t.Color,difference:t.Difference,exclusion:t.Exclusion,minus:t.Minus,invert:t.Invert,reflect:t.Reflect,"destination-over":t.DestinationOver,"destination-atop":t.DestinationAtop,"destination-in":t.DestinationIn,"destination-out":t.DestinationOut,"source-atop":t.SourceAtop,"source-in":t.SourceIn,"source-out":t.SourceOut,xor:t.Xor};function o(e){return e===t.DestinationOver||e===t.DestinationAtop||e===t.DestinationIn||e===t.DestinationOut||e===t.SourceAtop||e===t.SourceIn||e===t.SourceOut||e===t.Xor}export{t as LayerBlendMode,e as blendModeFromString,o as isCompositeBlendMode};