285286287288289290291292
Blue[i] = (byte) ((pixel >> 0) & 0xff); } } else { throw new NotSupportedException("Unrecognized pixel format: " + bitmap.getPixelFormatAsString()); } }
3514351535163517351835193520352135223523
prim.PathScaleX = 1f; prim.PathScaleY = 0.5f; prim.PathRevolutions = 1f; break; default: throw new NotSupportedException("Unsupported shape: " + type.toString()); } return prim; }