Codota Logo
Shadow.normalizeShadowColor
Code IndexAdd Codota 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)

  • Common ways to obtain Shadow
private void myMethod () {
Shadow s =
  • Codota IconShadow.ShadowJSO jso;new Shadow(jso)
  • Codota IconAttributes attributes;attributes.getShadow()
  • Codota IconShape shape;shape.getAttributes().getShadow()
  • Smart code suggestions by Codota
}
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

/**
 * 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: 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

private static final String normalizeShadowColor(final IColor color)
{
  if (null == color)
  {
    return "black";
  }
  return normalizeShadowColor(color.getColorString());
}
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, 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 (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 (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()));
}
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

  • Reading from database using SQL prepared statement
  • getSystemService (Context)
  • putExtra (Intent)
  • getApplicationContext (Context)
  • BufferedReader (java.io)
    Reads text from a character-input stream, buffering characters so as to provide for the efficient re
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • SortedSet (java.util)
    A Set that further provides a total ordering on its elements. The elements are ordered using their C
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.This exception may include information for locating the er
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now