Tabnine Logo
Shadow.normalizeShadowColor
Code IndexAdd Tabnine to your IDE (free)

How to use
normalizeShadowColor
method
in
com.ait.lienzo.client.core.types.Shadow

Best Java code snippets using com.ait.lienzo.client.core.types.Shadow.normalizeShadowColor (Showing top 20 results out of 315)

origin: com.ahome-it/lienzo-core

/**
 * Sets the color as a {@link Color} or {@link ColorName}.
 *
 * @param color {@link Color} or {@link ColorName}
 * @return this Shadow
 */
public final Shadow setColor(final IColor color)
{
  m_jso.setColor(normalizeShadowColor(color));
  return this;
}
origin: ahome-it/lienzo-core

/**
 * Sets the color as a string.
 *
 * @param color String
 * @return this Shadow
 */
public final Shadow setColor(final String color)
{
  m_jso.setColor(normalizeShadowColor(color));
  return this;
}
origin: org.dashbuilder/dashbuilder-lienzo-core

/**
 * Returns the color as a string.
 * @return String
 */
public final String getColor()
{
  return normalizeShadowColor(m_jso.getColor());
}
origin: org.dashbuilder/dashbuilder-lienzo-core

private static final String normalizeShadowColor(IColor color)
{
  if (null == color)
  {
    return "black";
  }
  return normalizeShadowColor(color.getColorString());
}
origin: ahome-it/lienzo-core

/**
 * Returns the color as a string.
 * @return String
 */
public final String getColor()
{
  return normalizeShadowColor(m_jso.getColor());
}
origin: ahome-it/lienzo-core

/**
 * Sets the color as a string.
 *
 * @param color String
 * @return this Shadow
 */
public final Shadow setColor(final String color)
{
  m_jso.setColor(normalizeShadowColor(color));
  return this;
}
origin: ahome-it/lienzo-core

/**
 * Returns the color as a string.
 * @return String
 */
public final String getColor()
{
  return normalizeShadowColor(m_jso.getColor());
}
origin: com.ahome-it/lienzo-core

private static final String normalizeShadowColor(final IColor color)
{
  if (null == color)
  {
    return "black";
  }
  return normalizeShadowColor(color.getColorString());
}
origin: com.ahome-it/lienzo-core

/**
 * Returns the color as a string.
 * @return String
 */
public final String getColor()
{
  return normalizeShadowColor(m_jso.getColor());
}
origin: com.ahome-it/lienzo-core

/**
 * Sets the color as a string.
 *
 * @param color String
 * @return this Shadow
 */
public final Shadow setColor(final String color)
{
  m_jso.setColor(normalizeShadowColor(color));
  return this;
}
origin: ahome-it/lienzo-core

/**
 * Sets the color as a {@link Color} or {@link ColorName}.
 *
 * @param color {@link Color} or {@link ColorName}
 * @return this Shadow
 */
public final Shadow setColor(final IColor color)
{
  m_jso.setColor(normalizeShadowColor(color));
  return this;
}
origin: com.ahome-it/lienzo-core

/**
 * Constructs a Shadow from a color (as a String), a blur and an offset (offx, offy).
 *
 * @param color String
 * @param blur
 * @param offx
 * @param offy
 */
public Shadow(final String color, final int blur, final double offx, final double offy)
{
  this(ShadowJSO.make(normalizeShadowColor(color), blur, true, new Point2D(offx, offy).getJSO()));
}
origin: org.dashbuilder/dashbuilder-lienzo-core

/**
 * Constructs a Shadow from a color (as a String), a blur and an offset (offx, offy).
 * 
 * @param color String
 * @param blur
 * @param offx
 * @param offy
 */
public Shadow(String color, int blur, double offx, double offy, boolean onfill)
{
  this(ShadowJSO.make(normalizeShadowColor(color), blur, onfill, new Point2D(offx, offy).getJSO()));
}
origin: com.ahome-it/lienzo-core

/**
 * Constructs a Shadow from a color (as a String), a blur and an offset (offx, offy).
 *
 * @param color String
 * @param blur
 * @param offx
 * @param offy
 */
public Shadow(final String color, final int blur, final double offx, final double offy, final boolean onfill)
{
  this(ShadowJSO.make(normalizeShadowColor(color), blur, onfill, new Point2D(offx, offy).getJSO()));
}
origin: org.dashbuilder/dashbuilder-lienzo-core

/**
 * Constructs a Shadow from a color (as a String), a blur and an offset (offx, offy).
 * 
 * @param color String
 * @param blur
 * @param offx
 * @param offy
 */
public Shadow(String color, int blur, double offx, double offy)
{
  this(ShadowJSO.make(normalizeShadowColor(color), blur, true, new Point2D(offx, offy).getJSO()));
}
origin: ahome-it/lienzo-core

/**
 * Constructs a Shadow from a color (as a String), a blur and an offset (offx, offy).
 *
 * @param color String
 * @param blur
 * @param offx
 * @param offy
 */
public Shadow(final String color, final int blur, final double offx, final double offy, final boolean onfill)
{
  this(ShadowJSO.make(normalizeShadowColor(color), blur, onfill, new Point2D(offx, offy).getJSO()));
}
origin: ahome-it/lienzo-core

/**
 * Constructs a Shadow from a color (i.e. {@link Color} or {@link ColorName}),
 * a blur and an offset (offx, offy).
 *
 * @param color {@link Color} or {@link ColorName}
 * @param blur
 * @param offx
 * @param offy
 */
public Shadow(final IColor color, final int blur, final double offx, final double offy)
{
  this(ShadowJSO.make(normalizeShadowColor(color), blur, true, new Point2D(offx, offy).getJSO()));
}
origin: ahome-it/lienzo-core

/**
 * Constructs a Shadow from a color (i.e. {@link Color} or {@link ColorName}),
 * a blur and an offset (offx, offy).
 *
 * @param color {@link Color} or {@link ColorName}
 * @param blur
 * @param offx
 * @param offy
 */
public Shadow(final IColor color, final int blur, final double offx, final double offy, final boolean onfill)
{
  this(ShadowJSO.make(normalizeShadowColor(color), blur, onfill, new Point2D(offx, offy).getJSO()));
}
origin: ahome-it/lienzo-core

/**
 * Constructs a Shadow from a color (as a String), a blur and an offset (offx, offy).
 *
 * @param color String
 * @param blur
 * @param offx
 * @param offy
 */
public Shadow(final String color, final int blur, final double offx, final double offy)
{
  this(ShadowJSO.make(normalizeShadowColor(color), blur, true, new Point2D(offx, offy).getJSO()));
}
origin: ahome-it/lienzo-core

/**
 * Constructs a Shadow from a color (as a String), a blur and an offset (offx, offy).
 *
 * @param color String
 * @param blur
 * @param offx
 * @param offy
 */
public Shadow(final String color, final int blur, final double offx, final double offy, final boolean onfill)
{
  this(ShadowJSO.make(normalizeShadowColor(color), blur, onfill, new Point2D(offx, offy).getJSO()));
}
com.ait.lienzo.client.core.typesShadownormalizeShadowColor

Popular methods of Shadow

  • <init>
    Constructs a Shadow from a color (as a String), a blur and an offset (offx, offy).
  • getJSO
  • toJSONString
  • getBlur
    Returns the blur.
  • getColor
    Returns the color as a string.
  • getOffset
    Returns the offset as a Point2D.

Popular in Java

  • Finding current android device location
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • JList (javax.swing)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now